diff options
Diffstat (limited to 'community/knot/knotd.initd')
-rw-r--r-- | community/knot/knotd.initd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/community/knot/knotd.initd b/community/knot/knotd.initd index 8ec8600a9b..781346216c 100644 --- a/community/knot/knotd.initd +++ b/community/knot/knotd.initd @@ -16,7 +16,7 @@ depend() { } start_pre() { - checkpath -d -m 0750 -o knot:knot /var/run/knot/ /var/lib/knot/ + checkpath -d -m 0750 -o knot:knot /run/knot/ /var/lib/knot/ } stop() { @@ -24,7 +24,7 @@ stop() { /usr/sbin/knotc stop >/dev/null 2>&1 # Mark service as stopped if remote control was successful if [ $? -eq 0 ]; then - start-stop-daemon --stop --quiet --pidfile /var/run/knot/knot.pid + start-stop-daemon --stop --quiet --pidfile /run/knot/knot.pid fi eend $? } |