summaryrefslogtreecommitdiffstats
path: root/main/ez-ipupdate/ez-ipupdate.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-08-22 14:52:09 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-08-22 14:52:09 +0000
commit5de10ff30d14ebef3b3db84b93bedc19cae3ea45 (patch)
tree7b8172289c3d7046cd7dfe26da6f34e06d6f5ffb /main/ez-ipupdate/ez-ipupdate.initd
parent49afd339b03ce74e0a76ac59656083aa56ba8b55 (diff)
downloadaports-5de10ff30d14ebef3b3db84b93bedc19cae3ea45.tar.bz2
aports-5de10ff30d14ebef3b3db84b93bedc19cae3ea45.tar.xz
main/ez-ipupdate: move the pidfile to /var/run/ez-ipupdate
Diffstat (limited to 'main/ez-ipupdate/ez-ipupdate.initd')
-rw-r--r--main/ez-ipupdate/ez-ipupdate.initd6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/ez-ipupdate/ez-ipupdate.initd b/main/ez-ipupdate/ez-ipupdate.initd
index 45d287412..b01183597 100644
--- a/main/ez-ipupdate/ez-ipupdate.initd
+++ b/main/ez-ipupdate/ez-ipupdate.initd
@@ -27,7 +27,7 @@ depend() {
start() {
ebegin "Starting ${NAME}"
start-stop-daemon --start --quiet \
- --pidfile /var/run/${NAME}.pid \
+ --pidfile /var/run/${NAME}/${NAME}.pid \
--chuid ${DAEMON_USER}:${DAEMON_GROUP} \
--exec ${DAEMON} -- ${OPTS}
eend $?
@@ -36,8 +36,8 @@ start() {
stop() {
ebegin "Stopping ${NAME}"
start-stop-daemon --stop --quiet \
- --exec ${DAEMON} \
- --pidfile /var/run/${NAME}.pid \
+ --pidfile /var/run/${NAME}/${NAME}.pid \
+ --exec ${DAEMON}
eend $?
}