summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/debian/unit.init
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2019-07-04 14:14:29 +0300
committerAndrei Belov <defan@nginx.com>2019-07-04 14:14:29 +0300
commite1de5bcfabf468b88b42aa27c60a643e97aacc11 (patch)
tree497d9dc3d05f6ac8ee6fbbbc094b13e357f8e8f2 /pkg/deb/debian/unit.init
parentbcb9048c4663a34d9b29a6b5b8e3da14a4321a96 (diff)
downloadunit-e1de5bcfabf468b88b42aa27c60a643e97aacc11.tar.gz
unit-e1de5bcfabf468b88b42aa27c60a643e97aacc11.tar.bz2
Packages: log and pid paths made consistent.
Diffstat (limited to 'pkg/deb/debian/unit.init')
-rw-r--r--pkg/deb/debian/unit.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/deb/debian/unit.init b/pkg/deb/debian/unit.init
index c991b912..2f573f99 100644
--- a/pkg/deb/debian/unit.init
+++ b/pkg/deb/debian/unit.init
@@ -31,7 +31,7 @@ umask 022
case "$1" in
start)
log_daemon_msg "Starting $DESC" "$NAME"
- if start-stop-daemon --start --quiet --pidfile /run/$NAME.pid \
+ if start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
--exec $DAEMON -- $DAEMON_ARGS; then
log_end_msg 0
else