php-fpm: add restart on failure
This commit is contained in:
parent
6fcd16743f
commit
ca86e17290
@ -3,6 +3,7 @@ Description=The PHP FastCGI Process Manager
|
|||||||
After=syslog.target network.target
|
After=syslog.target network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Restart=on-failure
|
||||||
Type=notify
|
Type=notify
|
||||||
PIDFile=/run/php-fpm/php-fpm.pid
|
PIDFile=/run/php-fpm/php-fpm.pid
|
||||||
PrivateTmp=true
|
PrivateTmp=true
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
[Socket]
|
[Socket]
|
||||||
ListenStream=9000
|
ListenStream=9000
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=sockets.target
|
WantedBy=sockets.target
|
||||||
|
Loading…
Reference in New Issue
Block a user