]> git.somenet.org - root/pub/somesible.git/blob - roles/base/munin-node/files/default/munin-node.service
[roles/server/irc-services] install anope
[root/pub/somesible.git] / roles / base / munin-node / files / default / munin-node.service
1 #
2 ################################################
3 ### Managed by someone's ansible provisioner ###
4 ################################################
5 # Part of: https://git.somenet.org/root/pub/somesible.git
6 # 2017-2024 by someone <someone@somenet.org>
7 #
8
9 [Unit]
10 Description=Munin Node
11 Documentation=man:munin-node(1) http://guide.munin-monitoring.org/en/stable-2.0/reference/munin-node.html
12 After=network-online.target
13
14 [Service]
15 EnvironmentFile=-/etc/default/munin-node
16 Type=notify
17 Restart=always
18 ExecStart=/usr/sbin/munin-node --foreground $DAEMON_ARGS
19 PIDFile=/run/munin/munin-node.pid
20 # Plugins like "smart_" require access to devices
21 # someone: breaks iostat
22 #PrivateDevices=false
23 PrivateTmp=true
24 ProtectHome=true
25 # "full" (instead of "strict") still allows write access to the state files
26 # someone: breaks iostat
27 #ProtectSystem=full
28
29 [Install]
30 WantedBy=multi-user.target