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
|
@ -4,22 +4,22 @@
|
||||||
# $Header: /var/www/viewcvs.gentoo.org/raw_cvs/gentoo-x86/net-misc/igmpproxy/files/igmpproxy-init.d,v 1.1 2009/05/03 20:05:14 idl0r Exp $
|
# $Header: /var/www/viewcvs.gentoo.org/raw_cvs/gentoo-x86/net-misc/igmpproxy/files/igmpproxy-init.d,v 1.1 2009/05/03 20:05:14 idl0r Exp $
|
||||||
|
|
||||||
depend() {
|
depend() {
|
||||||
need net
|
need net
|
||||||
use logger
|
use logger
|
||||||
}
|
}
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
ebegin "Starting IGMPproxy"
|
ebegin "Starting IGMPproxy"
|
||||||
start-stop-daemon --start --background \
|
start-stop-daemon --start --background \
|
||||||
--make-pidfile --pidfile /var/run/igmpproxy.pid \
|
--make-pidfile --pidfile /run/igmpproxy.pid \
|
||||||
--exec /usr/sbin/igmpproxy -- \
|
--exec /usr/sbin/igmpproxy -- \
|
||||||
${IGMPPROXY_OPTS} "${IGMPPROXY_CONFIG:-/etc/igmpproxy.conf}"
|
${IGMPPROXY_OPTS} "${IGMPPROXY_CONFIG:-/etc/igmpproxy.conf}"
|
||||||
eend $?
|
eend $?
|
||||||
}
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
ebegin "Stopping IGMPproxy"
|
ebegin "Stopping IGMPproxy"
|
||||||
start-stop-daemon --stop --pidfile /var/run/igmpproxy.pid
|
start-stop-daemon --stop --pidfile /run/igmpproxy.pid
|
||||||
eend $?
|
eend $?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue