21 lines
554 B
Django/Jinja
21 lines
554 B
Django/Jinja
[Service]
|
|
EnvironmentFile=
|
|
ExecStart=
|
|
ExecStart=/usr/bin/telegraf -config /etc/telegraf/telegraf.conf -config-directory /etc/telegraf/telegraf.d
|
|
|
|
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
|