Nginx: properly enable fcgi service for Munin

This commit is contained in:
Jérémy Lecour 2017-01-10 14:34:47 +01:00 committed by Jérémy Lecour
parent 9d5a099fc4
commit fa9a54bc6c

View file

@ -27,10 +27,14 @@
src: init.d/spawn-fcgi-munin-graph
dest: /etc/init.d/
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
service:
name: spawn-fcgi-munin-graph
enabled: yes
state: started
notify: restart spawn-fcgi-munin-graph