igmpproxy: Don't install to/use /var/run.
This commit is contained in:
parent
5ccab7e844
commit
2790e61d4d
1 changed files with 11 additions and 11 deletions
|
@ -11,7 +11,7 @@ depend() {
|
|||
start() {
|
||||
ebegin "Starting IGMPproxy"
|
||||
start-stop-daemon --start --background \
|
||||
--make-pidfile --pidfile /var/run/igmpproxy.pid \
|
||||
--make-pidfile --pidfile /run/igmpproxy.pid \
|
||||
--exec /usr/sbin/igmpproxy -- \
|
||||
${IGMPPROXY_OPTS} "${IGMPPROXY_CONFIG:-/etc/igmpproxy.conf}"
|
||||
eend $?
|
||||
|
@ -19,7 +19,7 @@ start() {
|
|||
|
||||
stop() {
|
||||
ebegin "Stopping IGMPproxy"
|
||||
start-stop-daemon --stop --pidfile /var/run/igmpproxy.pid
|
||||
start-stop-daemon --stop --pidfile /run/igmpproxy.pid
|
||||
eend $?
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue