-
-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add systemd service auto restart for nginx, php-fpm & redis
- for nginx, php-fpm and redis systemd services add support to auto restart their respective services if service fails, crashes or exists. Auto restart will trigger 5 seconds after service failure is detected. The following config files control the settings and if they are custom edited, ensure you do run command = systemctl daemon-reload afterwards /etc/systemd/system/nginx.service.d/failure-restart.conf /etc/systemd/system/php-fpm.service.d/failure-restart.conf /etc/systemd/system/redis.service.d/failure-restart.conf
- Loading branch information
1 parent
86d247f
commit 67b07bf
Showing
5 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters