diff options
author | Konstantin Pavlov <thresh@nginx.com> | 2023-08-22 14:55:10 -0700 |
---|---|---|
committer | Konstantin Pavlov <thresh@nginx.com> | 2023-08-22 14:55:10 -0700 |
commit | ffc6e6b08f4c5a6558f0cc85e597f9d7ae17701a (patch) | |
tree | 17f0b864dc80fbf42d42070a95c60d1177954bfa | |
parent | bf3d5759ebc17ef6c5997861bf2a73abb46af0a7 (diff) | |
download | unit-ffc6e6b08f4c5a6558f0cc85e597f9d7ae17701a.tar.gz unit-ffc6e6b08f4c5a6558f0cc85e597f9d7ae17701a.tar.bz2 |
Packages: specify runstatedir and logdir explicitely.
-rw-r--r-- | pkg/deb/Makefile | 2 | ||||
-rw-r--r-- | pkg/docker/template.Dockerfile | 2 | ||||
-rw-r--r-- | pkg/rpm/Makefile | 2 |
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 \ |