Packages: log and pid paths made consistent.
This commit is contained in:
@@ -140,8 +140,8 @@ CONFIGURE_ARGS=\
|
||||
--prefix=/usr \
|
||||
--state=%{_sharedstatedir}/unit \
|
||||
--control="unix:/var/run/unit/control.sock" \
|
||||
--pid=/var/run/unit.pid \
|
||||
--log=/var/log/unit.log \
|
||||
--pid=/var/run/unit/unit.pid \
|
||||
--log=/var/log/unit/unit.log \
|
||||
--tests \
|
||||
--openssl
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
# the following:
|
||||
|
||||
# [Service]
|
||||
# Environment="UNITD_OPTIONS=--log /var/log/unit/unit.log --pid /run/unit/unit.pid"
|
||||
# Environment="UNITD_OPTIONS=--log /var/log/unit/unit.log --pid /var/run/unit/unit.pid"
|
||||
|
||||
[Unit]
|
||||
Description=NGINX Unit
|
||||
@@ -16,7 +16,7 @@ After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Environment="UNITD_OPTIONS=--log /var/log/unit/unit.log --pid /run/unit/unit.pid"
|
||||
Environment="UNITD_OPTIONS=--log /var/log/unit/unit.log --pid /var/run/unit/unit.pid"
|
||||
ExecStart=/usr/sbin/unitd $UNITD_OPTIONS --no-daemon
|
||||
ExecReload=
|
||||
RuntimeDirectory=unit
|
||||
|
||||
Reference in New Issue
Block a user