openresty-packaging icon indicating copy to clipboard operation
openresty-packaging copied to clipboard

systemd units: specify RuntimeDirectory

Open stokito opened this issue 2 years ago • 0 comments

The RuntimeDirectory will create /var/run/openresty folder during start of the service.

The OpenResty docker images creates the folder: https://github.com/openresty/docker-openresty/blob/master/jammy/Dockerfile#L174

But when running from systemd the folder doesn't exists and this breaks interopability.

See also https://github.com/openresty/docker-openresty/issues/119

stokito avatar Feb 08 '24 13:02 stokito