Remove ProtectSystem from service file
[collectd.git] / contrib / systemd.collectd.service
1 [Unit]
2 Description=Collectd statistics daemon
3 Documentation=man:collectd(1) man:collectd.conf(5)
4 After=local-fs.target network-online.target
5 Requires=local-fs.target network-online.target
6
7 [Service]
8 ExecStart=/usr/sbin/collectd
9 EnvironmentFile=-/etc/sysconfig/collectd
10 EnvironmentFile=-/etc/default/collectd
11
12 # A few plugins won't work without some privileges, which you'll have to
13 # specify using the CapabilityBoundingSet directive below.
14 #
15 # Here's a (incomplete) list of the plugins known capability requirements:
16 #   ceph            CAP_DAC_OVERRIDE
17 #   dns             CAP_NET_RAW
18 #   exec            CAP_SETUID CAP_SETGID
19 #   intel_rdt       CAP_SYS_RAWIO
20 #   intel_pmu       CAP_SYS_ADMIN
21 #   iptables        CAP_NET_ADMIN
22 #   ping            CAP_NET_RAW
23 #   processes       CAP_NET_ADMIN  (CollectDelayAccounting only)
24 #   smart           CAP_SYS_RAWIO
25 #   turbostat       CAP_SYS_RAWIO
26 #
27 # Example, if you use the iptables plugin alongside the dns or ping plugin:
28 #CapabilityBoundingSet=CAP_NET_RAW CAP_NET_ADMIN
29 #
30 # By default, drop all capabilities:
31 CapabilityBoundingSet=
32
33 # Tell systemd it will receive a notification from collectd over its control
34 # socket once the daemon is ready. See systemd.service(5) for more details.
35 Type=notify
36
37 # Restart the collectd daemon when it fails.
38 Restart=on-failure
39
40 [Install]
41 WantedBy=multi-user.target