Commit ff14c4cb authored by Carlo Landmeter's avatar Carlo Landmeter
Browse files

3dm2: removed pidfile from init and use exec option.

parent b9c88927
......@@ -10,7 +10,6 @@ depend() {
start() {
ebegin "Starting ${NAME}"
start-stop-daemon --start --quiet --background \
--make-pidfile --pidfile /var/run/${NAME}.pid \
--exec ${DAEMON} -- ${OPTS}
eend $?
}
......@@ -19,6 +18,5 @@ stop() {
ebegin "Stopping ${NAME}"
start-stop-daemon --stop --quiet \
--exec ${DAEMON} \
--pidfile /var/run/${NAME}.pid \
eend $?
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment