openresty-packaging
openresty-packaging copied to clipboard
systemd units: specify RuntimeDirectory
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