lxc-php: restart container instead of reload after php-fpm unit's umask change.

This commit is contained in:
William Hirigoyen 2022-10-26 15:23:46 +02:00
parent 2692ac5661
commit 18fb89234c
2 changed files with 6 additions and 1 deletions

View file

@ -5,6 +5,11 @@
name: "{{ lxc_php_version }}"
container_command: "systemctl reload {{ lxc_php_services[lxc_php_version] }}"
- name: Restart PHP-FPM
lxc_container:
name: "{{ lxc_php_version }}"
container_command: "systemctl restart {{ lxc_php_services[lxc_php_version] }}"
- name: Reload php81-fpm
lxc_container:
name: "{{ lxc_php_version }}"

View file

@ -27,5 +27,5 @@
insertafter: "\\[Service\\]"
notify:
- "Daemon reload"
- "Reload PHP-FPM"
- "Restart PHP-FPM"