Nginx: properly enable fcgi service for Munin
This commit is contained in:
parent
9d5a099fc4
commit
fa9a54bc6c
|
@ -27,10 +27,14 @@
|
||||||
src: init.d/spawn-fcgi-munin-graph
|
src: init.d/spawn-fcgi-munin-graph
|
||||||
dest: /etc/init.d/
|
dest: /etc/init.d/
|
||||||
mode: "755"
|
mode: "755"
|
||||||
|
register: install_spawn_fcgi_munin_graph
|
||||||
|
|
||||||
|
- name: Reload systemd
|
||||||
|
command: systemctl daemon-reload
|
||||||
|
when: install_spawn_fcgi_munin_graph | changed
|
||||||
|
|
||||||
- name: Ensure that Munin-fcgi is started/stopped correctly
|
- name: Ensure that Munin-fcgi is started/stopped correctly
|
||||||
service:
|
service:
|
||||||
name: spawn-fcgi-munin-graph
|
name: spawn-fcgi-munin-graph
|
||||||
enabled: yes
|
enabled: yes
|
||||||
state: started
|
state: started
|
||||||
notify: restart spawn-fcgi-munin-graph
|
|
||||||
|
|
Loading…
Reference in a new issue