diff options
author | Sam James <sam@gentoo.org> | 2021-03-11 11:32:15 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-03-11 11:32:15 +0000 |
commit | 2fb0c650ae966e2c00a2cc8739fabb05cb13acff (patch) | |
tree | 06bdc000da5dd75aad5ea0968ff6b451f26d1471 /net-firewall/conntrack-tools/files/conntrackd.service | |
parent | app-misc/datefudge: minor style changes (diff) | |
download | gentoo-2fb0c650ae966e2c00a2cc8739fabb05cb13acff.tar.gz gentoo-2fb0c650ae966e2c00a2cc8739fabb05cb13acff.tar.bz2 gentoo-2fb0c650ae966e2c00a2cc8739fabb05cb13acff.zip |
net-firewall/conntrack-tools: add systemd unit for conntrackd from Debian
The linked bug requested a systemd unit for nfct, but I don't use it and
can't see one in Debian or Arch Linux.
Bug: https://bugs.gentoo.org/573566
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-firewall/conntrack-tools/files/conntrackd.service')
-rw-r--r-- | net-firewall/conntrack-tools/files/conntrackd.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net-firewall/conntrack-tools/files/conntrackd.service b/net-firewall/conntrack-tools/files/conntrackd.service new file mode 100644 index 000000000000..26f950c0d9cc --- /dev/null +++ b/net-firewall/conntrack-tools/files/conntrackd.service @@ -0,0 +1,13 @@ +[Unit] +Description=Conntrack Daemon +Documentation=man:conntrackd(8) man:conntrackd.conf(5) + +[Service] +Type=notify +ExecStart=/usr/sbin/conntrackd -C /etc/conntrackd/conntrackd.conf +Restart=on-failure +ProtectSystem=full +ProtectHome=true + +[Install] +WantedBy=multi-user.target |