Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

systemd units: specify RuntimeDirectory #131

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

stokito
Copy link
Contributor

@stokito stokito commented Feb 8, 2024

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 openresty/docker-openresty#119

The RuntimeDirectory will create /var/run/openresty folder during start of the service.
@stokito
Copy link
Contributor Author

stokito commented Sep 4, 2024

@zhuizhuhaomeng could you check the pr? It's simple and safe to merge

@zhuizhuhaomeng zhuizhuhaomeng merged commit 23b58a2 into openresty:master Sep 6, 2024
1 check passed
@stokito stokito deleted the sustemd_runtime_dir branch September 6, 2024 05:31
@stokito
Copy link
Contributor Author

stokito commented Sep 6, 2024

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants