Also fix service file to look in the right place

This commit is contained in:
Kevin Fenzi 2016-04-10 14:00:25 -06:00
parent 58963c8af1
commit a99019a63f

View File

@ -8,8 +8,8 @@ Before=network-pre.target
Type=oneshot
ProtectSystem=full
ProtectHome=true
ExecStart=/sbin/nft -f /etc/nftables.conf
ExecReload=/sbin/nft 'flush ruleset; include "/etc/nftables.conf";'
ExecStart=/sbin/nft -f /etc/sysconfig/nftables.conf
ExecReload=/sbin/nft 'flush ruleset; include "/etc/sysconfig/nftables.conf";'
ExecStop=/sbin/nft flush ruleset
RemainAfterExit=yes