summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/ez-ipupdate/APKBUILD2
-rw-r--r--main/ez-ipupdate/ez-ipupdate.initd6
2 files changed, 4 insertions, 4 deletions
diff --git a/main/ez-ipupdate/APKBUILD b/main/ez-ipupdate/APKBUILD
index fbc0219dc..74ef3675f 100644
--- a/main/ez-ipupdate/APKBUILD
+++ b/main/ez-ipupdate/APKBUILD
@@ -33,4 +33,4 @@ build() {
md5sums="6505c9d18ef6b5ce13fe2a668eb5724b ez-ipupdate-3.0.10.tar.gz
e6e06780b1896f2250132cc16cd10710 ez-ipupdate.confd
-04b773d467e9793c9a4e3b0e9d6a2f7f ez-ipupdate.initd"
+5ac899387790691156eb4d0ff2b3f480 ez-ipupdate.initd"
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 $?
}