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>
(cherry picked from commit a236ea727f)
pull/92/head
Slávek Banko 9 years ago
parent 6eccc1f2f7
commit 26f9dba307

@ -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