lxc-php: restart container instead of reload after php-fpm unit's umask change.
This commit is contained in:
parent
2692ac5661
commit
18fb89234c
|
@ -5,6 +5,11 @@
|
||||||
name: "{{ lxc_php_version }}"
|
name: "{{ lxc_php_version }}"
|
||||||
container_command: "systemctl reload {{ lxc_php_services[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
|
- name: Reload php81-fpm
|
||||||
lxc_container:
|
lxc_container:
|
||||||
name: "{{ lxc_php_version }}"
|
name: "{{ lxc_php_version }}"
|
||||||
|
|
|
@ -27,5 +27,5 @@
|
||||||
insertafter: "\\[Service\\]"
|
insertafter: "\\[Service\\]"
|
||||||
notify:
|
notify:
|
||||||
- "Daemon reload"
|
- "Daemon reload"
|
||||||
- "Reload PHP-FPM"
|
- "Restart PHP-FPM"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue