Fix path for virtual_oss when checking pidfile in rc.d file.

PR:		250046
Approved by:	pi (implicit)
This commit is contained in:
Hans Petter Selasky
2020-10-06 20:58:10 +00:00
parent 6e7719badf
commit cc70b95a2e
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
PORTNAME= virtual_oss
PORTVERSION= 1.2.6
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= http://www.selasky.org/hans_petter/distfiles/ \
http://home.selasky.org/distfiles/

View File

@@ -95,7 +95,7 @@ stop_instance()
if [ -z "${instance_args}" ]; then
echo "No such config ${config}"
elif [ -e "${pidpath}/${config}.pid" ]; then
pid=`check_pidfile ${pidpath}/${config}.pid ${command}`
pid=`check_pidfile ${pidpath}/${config}.pid %%PREFIX%%/sbin/virtual_oss`
if [ ! -z "${pid}" ]; then
echo -n "Stopping Virtual OSS config ${config} ... "
kill $pid