roles/php-fpm: Reload service instead of restarting
No need to bounce the service for most config changes when we can just tell the daemon to reload gracefully.
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
service: name=php5-fpm state=restarted
|
||||
|
||||
# For Ubuntu 16.04
|
||||
- name: restart php7.0-fpm
|
||||
systemd: name=php7.0-fpm state=restarted
|
||||
- name: reload php7.0-fpm
|
||||
systemd: name=php7.0-fpm state=reloaded
|
||||
|
||||
# vim: set ts=2 sw=2:
|
||||
|
Reference in New Issue
Block a user