add bundle:sysctl

This commit is contained in:
Franzi 2021-06-04 07:27:49 +02:00
parent 8d21e15106
commit 95856a2c2d
Signed by: kunsi
GPG key ID: 12E3D2136B818350
10 changed files with 79 additions and 0 deletions

View file

@ -0,0 +1,8 @@
[Service]
ExecStart=
ExecStart=/usr/sbin/nft -f /etc/nftables.conf
ExecStart=/usr/local/sbin/apply-sysctl
ExecReload=
ExecReload=/usr/sbin/nft -f /etc/nftables.conf
ExecReload=/usr/local/sbin/apply-sysctl

View file

@ -23,6 +23,14 @@ files = {
'svc_systemd:nftables:reload',
},
},
'/etc/systemd/system/nftables.service.d/bundlewrap.conf': {
'source': 'override.conf',
'triggers': {
'action:systemd-reload',
'svc_systemd:nftables:reload',
},
},
}
svc_systemd = {