summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/rpmbuild
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/rpm/rpmbuild
parentbcb9048c4663a34d9b29a6b5b8e3da14a4321a96 (diff)
downloadunit-e1de5bcfabf468b88b42aa27c60a643e97aacc11.tar.gz
unit-e1de5bcfabf468b88b42aa27c60a643e97aacc11.tar.bz2
Packages: log and pid paths made consistent.
Diffstat (limited to 'pkg/rpm/rpmbuild')
-rw-r--r--pkg/rpm/rpmbuild/SOURCES/unit.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/rpm/rpmbuild/SOURCES/unit.service b/pkg/rpm/rpmbuild/SOURCES/unit.service
index f888685f..6df00fbb 100644
--- a/pkg/rpm/rpmbuild/SOURCES/unit.service
+++ b/pkg/rpm/rpmbuild/SOURCES/unit.service
@@ -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