22 lines
579 B
SYSTEMD
22 lines
579 B
SYSTEMD
|
[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 -C /etc/conntrackd/conntrackd.conf $CONNTRACKD_OPTIONS
|
||
|
ExecReload=/bin/kill -HUP $MAINPID
|
||
|
Restart=on-failure
|
||
|
ProtectSystem=full
|
||
|
ProtectHome=true
|
||
|
WatchdogSec=60
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|