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: add template unit for different prefix #143

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shirok1
Copy link

@shirok1 shirok1 commented Jan 11, 2025

With this feature merged, user can easily run OpenResty on different prefix with systemd

$ systemd-escape [email protected] -p /your/prefix
[email protected]

$ sudo systemctl status [email protected]
[email protected] - The OpenResty Application Platform (/your/prefix)
....
    Process: xxxx ExecReload=/usr/local/openresty/nginx/sbin/nginx -p /your/prefix/ -g daemon on; master_process on; >
....

Looking for help on:

  • Is new unit correctly included in deb builds?
  • Should post, preun, postun hooks be changed on rpm builds?

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.

1 participant