add bundle:sysctl
This commit is contained in:
parent
8d21e15106
commit
95856a2c2d
10 changed files with 79 additions and 0 deletions
8
bundles/nftables/files/override.conf
Normal file
8
bundles/nftables/files/override.conf
Normal 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
|
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue