Jan Engelhardt
2f5e9587db
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort OBS-URL: https://build.opensuse.org/request/show/915056 OBS-URL: https://build.opensuse.org/package/show/security:netfilter/conntrack-tools?expand=0&rev=74
32 lines
854 B
Desktop File
32 lines
854 B
Desktop File
[Unit]
|
|
Description=Connection tracking userspace daemon
|
|
Documentation=man:conntrackd(8) man:conntrackd.conf(5)
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=notify
|
|
NotifyAccess=main
|
|
EnvironmentFile=-/etc/sysconfig/conntrackd
|
|
# daemon will not start if lock file is left dangling
|
|
ExecStartPre=/bin/rm -f $CONNTRACKD_LOCKFILE
|
|
ExecStart=/usr/sbin/conntrackd $CONNTRACKD_OPTIONS
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
Restart=on-failure
|
|
ProtectSystem=full
|
|
ProtectHome=true
|
|
# added automatically, for details please see
|
|
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
PrivateDevices=true
|
|
ProtectHostname=true
|
|
ProtectClock=true
|
|
ProtectKernelModules=true
|
|
ProtectKernelLogs=true
|
|
ProtectControlGroups=true
|
|
RestrictRealtime=true
|
|
# end of automatic additions
|
|
WatchdogSec=60
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|