Alan Orth
51183617b8
No need to bounce the service for most config changes when we can just tell the daemon to reload gracefully.
11 lines
196 B
YAML
11 lines
196 B
YAML
---
|
|
# For Debian 8
|
|
- name: restart php5-fpm
|
|
service: name=php5-fpm state=restarted
|
|
|
|
# For Ubuntu 16.04
|
|
- name: reload php7.0-fpm
|
|
systemd: name=php7.0-fpm state=reloaded
|
|
|
|
# vim: set ts=2 sw=2:
|