nginx: fix munin fcgi not working (missing chmod 660 on logs)
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
e2fd56bdcd
commit
8d71965ec9
|
@ -26,6 +26,7 @@ The **patch** part changes incrementally at each release.
|
||||||
* lxc-php: Don't remove the default pool
|
* lxc-php: Don't remove the default pool
|
||||||
* roundcube: fix typo for roundcube vhost
|
* roundcube: fix typo for roundcube vhost
|
||||||
* tomcat: fix typo for default tomcat_version
|
* tomcat: fix typo for default tomcat_version
|
||||||
|
* nginx: fix munin fcgi not working (missing chmod 660 on logs)
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
||||||
|
|
|
@ -15,14 +15,21 @@
|
||||||
- libcgi-fast-perl
|
- libcgi-fast-perl
|
||||||
- spawn-fcgi
|
- spawn-fcgi
|
||||||
|
|
||||||
- name: Adjust rights for munin-cgi
|
- name: Adjust owner for munin-cgi
|
||||||
shell: "chown --verbose www-data:munin /var/log/munin/munin-cgi-*"
|
shell: "chown --verbose www-data:munin /var/log/munin/munin-cgi-*"
|
||||||
register: command_result
|
register: command_result
|
||||||
changed_when: "'changed' in command_result.stdout"
|
changed_when: "'changed' in command_result.stdout"
|
||||||
args:
|
args:
|
||||||
warn: no
|
warn: no
|
||||||
|
|
||||||
- name: Install Init script for Munin-fcgi
|
- name: Adjust rights for munin-cgi
|
||||||
|
shell: "chmod --verbose 640 /var/log/munin/munin-cgi-*"
|
||||||
|
register: command_result
|
||||||
|
changed_when: "'changed' in command_result.stdout"
|
||||||
|
args:
|
||||||
|
warn: no
|
||||||
|
|
||||||
|
- name: Systemd unit for Munin-fcgi
|
||||||
copy:
|
copy:
|
||||||
src: systemd/spawn-fcgi-munin-graph.service
|
src: systemd/spawn-fcgi-munin-graph.service
|
||||||
dest: /etc/systemd/system/spawn-fcgi-munin-graph.service
|
dest: /etc/systemd/system/spawn-fcgi-munin-graph.service
|
||||||
|
|
Loading…
Reference in a new issue