Skip to content

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 --template=openresty@.service -p /your/prefix
openresty@your-prefix.service

$ sudo systemctl status openresty@your-prefix.service
● openresty@your-prefix.service - 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