Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /initscript/RedHat/mbm-gpsd.in [cf61a6] .. [daab0f] Maximize Restore

  Switch to side-by-side view

--- a/initscript/RedHat/mbm-gpsd.in
+++ b/initscript/RedHat/mbm-gpsd.in
@@ -37,7 +37,7 @@
 # so we can rearrange this easily
 processname=mbm-gpsd
 servicename=mbm-gpsd
-pidfile=/var/run/mbm-gpsd.pid
+pidfile=/var/run/mbm-gpsd/mbm-gpsd.pid
 
 RETVAL=0
 
@@ -49,7 +49,7 @@
 	echo
 
 	echo -n $"Starting mbm-gpsd daemon: "
-	daemon --pidfile=$pidfile --check $servicename $processname
+	daemon --check $servicename $processname --pid-file=$pidfile
 	RETVAL=$?
 	echo
 	if [ -n "${NETWORKWAIT}" ]; then