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 /pkg/docker/template.Dockerfile | |
parent | bf3d5759ebc17ef6c5997861bf2a73abb46af0a7 (diff) | |
download | unit-ffc6e6b08f4c5a6558f0cc85e597f9d7ae17701a.tar.gz unit-ffc6e6b08f4c5a6558f0cc85e597f9d7ae17701a.tar.bz2 |
Packages: specify runstatedir and logdir explicitely.
Diffstat (limited to 'pkg/docker/template.Dockerfile')
-rw-r--r-- | pkg/docker/template.Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
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 \ |