blob: 3830988eba56e3541f00f89389c4cd80ab38ca25 [file] [log] [blame]
Willy Tu5538c162021-02-10 11:44:57 -08001[Unit]
2Before=network-pre.target
3
4[Service]
5Type=oneshot
6RemainAfterExit=yes
William A. Kennington III4a2b9eb2021-02-16 14:38:36 -08007ExecStart=/bin/bash -c 'shopt -s nullglob; echo /etc/nftables/*.rules | xargs -r -n 1 nft -f'
Willy Tu5538c162021-02-10 11:44:57 -08008ExecStop=/bin/bash -c 'nft flush ruleset'
9
10[Install]
11WantedBy=multi-user.target