summaryrefslogtreecommitdiffstats
path: root/roles/munin-master/files/lib/systemd/system/munin-cgi-html.service
blob: 119d3a2884cf367650199e2b5693d1ea4cf6ed01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[Unit]
Description=Munin CGI HTML Service
After=network.target
PartOf=munin.service
Requires=munin-cgi-html.socket

[Service]
StandardInput=socket
User=www-data
Group=munin
ExecStart=/usr/lib/munin/cgi/munin-cgi-html

# Hardening
NoNewPrivileges=yes
PrivateDevices=yes
ProtectHome=yes
ProtectSystem=full
ReadOnlyDirectories=/
ReadWriteDirectories=-/var/log/munin

[Install]
WantedBy=multi-user.target