Fix the wrong argument for start-stop-daemon in tdm-trinity.postinst on Debian and Ubuntu

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/3/head
Slávek Banko 9 years ago
parent f790aba47d
commit a236ea727f

@ -63,7 +63,7 @@ for HOST in "" \
fi
done
# or if it's already running
if start-stop-daemon --stop --quiet --signal 0 --pid /var/run/tdm.pid --exec /opt/trinity/bin/tdm; then
if start-stop-daemon --stop --quiet --signal 0 --pidfile /var/run/tdm.pid --exec /opt/trinity/bin/tdm; then
NOSTART=yes
fi
# or if the options file says not to

@ -63,7 +63,7 @@ for HOST in "" \
fi
done
# or if it's already running
if start-stop-daemon --stop --quiet --signal 0 --pid /var/run/tdm.pid --exec /opt/trinity/bin/tdm; then
if start-stop-daemon --stop --quiet --signal 0 --pidfile /var/run/tdm.pid --exec /opt/trinity/bin/tdm; then
NOSTART=yes
fi
# or if the options file says not to

@ -81,7 +81,7 @@ for HOST in "" \
fi
done
# or if it's already running
if start-stop-daemon --stop --quiet --signal 0 --pid /var/run/tdm.pid --exec /opt/trinity/bin/tdm; then
if start-stop-daemon --stop --quiet --signal 0 --pidfile /var/run/tdm.pid --exec /opt/trinity/bin/tdm; then
NOSTART=yes
fi
# or if the options file says not to

Loading…
Cancel
Save