summaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg')
-rw-r--r--pkg/deb/Makefile2
-rw-r--r--pkg/docker/template.Dockerfile2
-rw-r--r--pkg/rpm/Makefile2
3 files changed, 6 insertions, 0 deletions
diff --git a/pkg/deb/Makefile b/pkg/deb/Makefile
index 3a77d7ef..ce16068d 100644
--- a/pkg/deb/Makefile
+++ b/pkg/deb/Makefile
@@ -154,7 +154,9 @@ CONFIGURE_ARGS_COMMON=\
--prefix=/usr \
--statedir=/var/lib/unit \
--control="unix:/var/run/control.unit.sock" \
+ --runstatedir=/var/run \
--pid=/var/run/unit.pid \
+ --logdir=/var/log \
--log=/var/log/unit.log \
--tmpdir=/var/tmp \
--user=unit \
diff --git a/pkg/docker/template.Dockerfile b/pkg/docker/template.Dockerfile
index c6a72aa8..b7c558a8 100644
--- a/pkg/docker/template.Dockerfile
+++ b/pkg/docker/template.Dockerfile
@@ -22,7 +22,9 @@ RUN set -ex \
&& CONFIGURE_ARGS_MODULES="--prefix=/usr \
--statedir=/var/lib/unit \
--control=unix:/var/run/control.unit.sock \
+ --runstatedir=/var/run \
--pid=/var/run/unit.pid \
+ --logdir=/var/log \
--log=/var/log/unit.log \
--tmpdir=/var/tmp \
--user=unit \
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 \