Skip to content
Snippets Groups Projects
Commit e39dbe88 authored by Bartłomiej Piotrowski's avatar Bartłomiej Piotrowski
Browse files

phpinfo: Restart the service when config has been changed

parent dd8372e9
No related branches found
No related tags found
No related merge requests found
---
- name: reload php-fpm@phpinfo
systemd: name=php-fpm@phpinfo.service state=reloaded
- name: restart php-fpm@phpinfo
systemd: name=php-fpm@phpinfo.service state=restarted
......@@ -21,7 +21,7 @@
template: >
src=php-fpm.conf.j2 dest=/etc/php/php-fpm.d/phpinfo.conf
owner=root group=root mode=0644
notify: reload php-fpm@phpinfo
notify: restart php-fpm@phpinfo
- name: start and enable systemd socket
service: name=php-fpm@phpinfo.socket state=running enabled=true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment