mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
tasks/network-interfaces: Disable network-local-commands service if unnecessary (#338622)
This commit is contained in:
commit
9c54c30f11
1 changed files with 1 additions and 0 deletions
|
@ -1446,6 +1446,7 @@ in
|
|||
|
||||
systemd.services = {
|
||||
network-local-commands = {
|
||||
enable = (cfg.localCommands != "");
|
||||
description = "Extra networking commands.";
|
||||
before = [ "network.target" ];
|
||||
wantedBy = [ "network.target" ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue