This repository has been archived on 2020-08-09. You can view files and clone it, but cannot push or open issues or pull requests.
2020-06-04 12:37:46 +00:00
|
|
|
[Unit]
|
|
|
|
StartLimitIntervalSec=0
|
|
|
|
|
2020-05-29 18:04:06 +00:00
|
|
|
[Service]
|
2020-05-31 09:59:12 +00:00
|
|
|
EnvironmentFile=
|
|
|
|
ExecStart=
|
|
|
|
ExecStart=/usr/bin/telegraf -config /etc/telegraf/telegraf.conf -config-directory /etc/telegraf/telegraf.d
|
|
|
|
|
2020-06-04 12:37:46 +00:00
|
|
|
Restart=on-failure
|
|
|
|
RestartSec=10
|
|
|
|
|
2020-05-29 18:04:06 +00:00
|
|
|
ProtectSystem=strict
|
|
|
|
NoNewPrivileges=yes
|
|
|
|
TemporaryFileSystem=/:ro
|
|
|
|
BindReadOnlyPaths=/etc/telegraf /usr /lib /lib64 /proc /sys
|
|
|
|
ProtectControlGroups=yes
|
|
|
|
ProtectKernelModules=yes
|
|
|
|
ProtectKernelTunables=yes
|
|
|
|
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_NETLINK
|
|
|
|
RestrictNamespaces=yes
|
|
|
|
RestrictRealtime=yes
|
|
|
|
RestrictSUIDSGID=yes
|
|
|
|
MemoryDenyWriteExecute=yes
|
|
|
|
LockPersonality=yes
|
|
|
|
PrivateTmp=yes
|
|
|
|
PrivateDevices=yes
|