diff options
author | Andrei Belov <defan@nginx.com> | 2019-08-22 21:33:54 +0300 |
---|---|---|
committer | Andrei Belov <defan@nginx.com> | 2019-08-22 21:33:54 +0300 |
commit | a07c4d30a64f781f93730576b5dced32422a9935 (patch) | |
tree | 06ebfaa66845a057b8069014c5379b2dcfc80861 /pkg/deb | |
parent | 8a579acddeae0c0106e15d82aa7220ac01deba84 (diff) | |
parent | c47af243b0e805376c4ec908f21e07dc811b33f0 (diff) | |
download | unit-a07c4d30a64f781f93730576b5dced32422a9935.tar.gz unit-a07c4d30a64f781f93730576b5dced32422a9935.tar.bz2 |
Merged with the default branch.1.10.0-1
Diffstat (limited to '')
-rw-r--r-- | pkg/deb/debian/unit.default | 2 | ||||
-rw-r--r-- | pkg/deb/debian/unit.init | 2 | ||||
-rw-r--r-- | pkg/deb/debian/unit.service | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/pkg/deb/debian/unit.default b/pkg/deb/debian/unit.default index b0f0f72d..8aff8bfe 100644 --- a/pkg/deb/debian/unit.default +++ b/pkg/deb/debian/unit.default @@ -1 +1 @@ -DAEMON_ARGS="--log /var/log/unit.log --pid /run/unit.pid" +DAEMON_ARGS="--log /var/log/unit.log --pid /var/run/unit.pid" 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 diff --git a/pkg/deb/debian/unit.service b/pkg/deb/debian/unit.service index 445851a5..d07a06d3 100644 --- a/pkg/deb/debian/unit.service +++ b/pkg/deb/debian/unit.service @@ -5,7 +5,7 @@ After=network-online.target [Service] Type=forking -PIDFile=/run/unit.pid +PIDFile=/var/run/unit.pid EnvironmentFile=-/etc/default/unit ExecStart=/usr/sbin/unitd $DAEMON_ARGS ExecReload= |