nm=${NM-"python /usr/share/NodeManager/nm.py"}
prog="Node Manager"
-restartoptions=
+options=${OPTIONS-"-d -s"}
+restartoptions=${RESTARTOPTIONS-"-d"}
pidfile=${PIDFILE-/var/run/nm.pid}
lockfile=${LOCKFILE-/var/lock/subsys/nm}
RETVAL=0
start()
{
- do_start ${OPTIONS-"-d -s"}
+ do_start $options
}
stop()
restart()
{
stop
- do_start ${OPTIONS-"-d"}
+ do_start $restartoptions
}