-
-
Notifications
You must be signed in to change notification settings - Fork 290
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace yunohost-firewall.service with an override on nftables.servic…
…e to call yunohost hooks on start/reload
- Loading branch information
1 parent
574ae08
commit f666cc1
Showing
3 changed files
with
12 additions
and
18 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# This override config calls yunohost hooks when nftables is started/reloaded | ||
|
||
[Service] | ||
ExecStart=yunohost hook callback post_nftables | ||
ExecReload=yunohost hook callback post_nftables | ||
# This one is legacy, apps should use the new post_nftables hook | ||
ExecStart=yunohost hook callback post_iptable_rules | ||
ExecReload=yunohost hook callback post_iptable_rules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters