mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-28 12:06:38 +03:00
* Add a test for the firewall.
svn path=/nixos/trunk/; revision=26276
This commit is contained in:
parent
64d871c0d9
commit
ee4e004cc4
3 changed files with 52 additions and 1 deletions
|
@ -24,7 +24,10 @@ in
|
|||
config = {
|
||||
|
||||
jobs.backdoor =
|
||||
{ startOn = "ip-up";
|
||||
{ # If the firewall is enabled, this job must start *after* the
|
||||
# firewall, otherwise connection tracking won't know about
|
||||
# this connection.
|
||||
startOn = if config.networking.firewall.enable then "started firewall" else "ip-up";
|
||||
stopOn = "never";
|
||||
|
||||
script =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue