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
|
||||
|
||||
[Service]
|
||||
Restart=on-failure
|
||||
Type=notify
|
||||
PIDFile=/run/php-fpm/php-fpm.pid
|
||||
PrivateTmp=true
|
||||
|
@ -1,5 +1,8 @@
|
||||
[Socket]
|
||||
ListenStream=9000
|
||||
|
||||
[Service]
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
|
Loading…
Reference in New Issue
Block a user