Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#60970 - [nginx] sytemd service does not restart on error
Attached to Project:
Arch Linux
Opened by Mike Schliep (schliep) - Wednesday, 05 December 2018, 05:18 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Saturday, 16 September 2023, 09:21 GMT
Opened by Mike Schliep (schliep) - Wednesday, 05 December 2018, 05:18 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Saturday, 16 September 2023, 09:21 GMT
|
DetailsDescription:
nginx does not restart if started with systemd it exits with an error code or the starting times out. The solution is to add a Restart= option to the service file. Systemd reccomends(https://www.freedesktop.org/software/systemd/man/systemd.service.html): [Service] Restart=on-failure openssh uses: [Service] Restart=always Both are good options, I like "always" as it restarts if nginx exits for any reason. |
This task depends upon
Closed by Massimiliano Torromeo (mtorromeo)
Saturday, 16 September 2023, 09:21 GMT
Reason for closing: Implemented
Additional comments about closing: nginx-1.24.0-2
Saturday, 16 September 2023, 09:21 GMT
Reason for closing: Implemented
Additional comments about closing: nginx-1.24.0-2

This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.