summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2023-08-22 14:55:10 -0700
committerKonstantin Pavlov <thresh@nginx.com>2023-08-22 14:55:10 -0700
commitffc6e6b08f4c5a6558f0cc85e597f9d7ae17701a (patch)
tree17f0b864dc80fbf42d42070a95c60d1177954bfa /pkg/rpm
parentbf3d5759ebc17ef6c5997861bf2a73abb46af0a7 (diff)
downloadunit-ffc6e6b08f4c5a6558f0cc85e597f9d7ae17701a.tar.gz
unit-ffc6e6b08f4c5a6558f0cc85e597f9d7ae17701a.tar.bz2
Packages: specify runstatedir and logdir explicitely.
Diffstat (limited to 'pkg/rpm')
-rw-r--r--pkg/rpm/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/rpm/Makefile b/pkg/rpm/Makefile
index 0573bd4c..355f8a59 100644
--- a/pkg/rpm/Makefile
+++ b/pkg/rpm/Makefile
@@ -128,7 +128,9 @@ CONFIGURE_ARGS_COMMON=\
--prefix=/usr \
--statedir=%{_sharedstatedir}/unit \
--control="unix:/var/run/unit/control.sock" \
+ --runstatedir=/var/run \
--pid=/var/run/unit/unit.pid \
+ --logdir=/var/log \
--log=/var/log/unit/unit.log \
--tmpdir=/var/tmp \
--user=unit \