summaryrefslogtreecommitdiff
path: root/meta-google/recipes-google/nftables/files/nftables.service
blob: 1a93812b85005e4b4eeb7fe471a746c3df63a8d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Before=network-pre.target

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/libexec/nft-configure.sh
ExecReload=/usr/libexec/nft-configure.sh
ExecStop=/usr/sbin/nft flush ruleset

[Install]
WantedBy=multi-user.target