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

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/libexec/nft-configure.sh
ExecStop=/bin/bash -c 'nft flush ruleset'

[Install]
WantedBy=multi-user.target