summaryrefslogtreecommitdiffstats
path: root/roles/munin-master/files/lib/systemd/system/munin-cgi-graph.service
blob: 99aca7ab27e328c999a3216bd08d6ba0c0f73a7c (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 Graph Service
After=network.target
PartOf=munin.service
Requires=munin-cgi-graph.socket

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

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

[Install]
WantedBy=multi-user.target