blob: 7130dea930d4fd552d59ce575fa6f719a755e195 [file] [log] [blame]
Willy Tu5538c162021-02-10 11:44:57 -08001[Unit]
2Before=network-pre.target
3
4[Service]
5Type=oneshot
6RemainAfterExit=yes
7ExecStart=/bin/bash -c 'echo /etc/nftables/*.rules | xargs -n 1 nft -f'
8ExecStop=/bin/bash -c 'nft flush ruleset'
9
10[Install]
11WantedBy=multi-user.target