1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-14 08:34:50 +00:00
nixpkgs/modules/services
Eelco Dolstra d7458b5fc2 Split the monolithic network-interface service into multiple units
For each statically configured interface, we now create a unit
‘<interface>-cfg.service’ which gets started as soon as the network
device comes up.  Similarly, each bridge defined in
‘networking.bridges’ and virtual interface in ‘networking.interfaces’
is created by a service ‘<interface>.service’.

So if we have

  networking.bridges.br0.interfaces = [ "eth0" "eth1" ];
  networking.interfaces =
    [ { name = "br0";
        ipAddress = "192.168.1.1";
      }
    ];

then there will be a unit ‘br0.service’ that depends on
‘sys-subsystem-net-devices-eth0.device’ and
‘sys-subsystem-net-devices-eth1.device’, and a unit ‘br0-cfg.service’
that depends on ‘sys-subsystem-net-devices-br0.device’.
2012-10-10 17:55:42 -04:00
..
amqp strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
audio Whitespace 2012-10-09 15:14:32 -04:00
backup * Drop references to activation scriptlets that no longer exist. 2012-03-15 14:21:17 +00:00
databases Decrease PostgreSQL start check interval 2012-10-01 17:32:03 -04:00
games strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
hardware acpid: Skip (rather than fail) if /proc/acpi doesn't exist 2012-10-04 23:26:01 -04:00
logging Enable klogd on Linux < 3.5 2012-10-05 13:44:15 -04:00
mail Merge remote-tracking branch 'origin/master' into systemd 2012-10-08 13:47:37 -04:00
misc Fix the manual service on the installation CD 2012-10-04 16:15:10 -04:00
monitoring Merge remote-tracking branch 'origin/master' into systemd 2012-09-28 11:35:27 -04:00
network-filesystems Global replace /var/run/current-system -> /run/current-system 2012-07-16 11:34:21 -04:00
networking firewall.nix: Don't spam the log 2012-10-10 16:51:05 -04:00
printing Split the monolithic network-interface service into multiple units 2012-10-10 17:55:42 -04:00
scheduling Global replace /var/run/current-system -> /run/current-system 2012-07-16 11:34:21 -04:00
security F-Prot virus signaure database updater: package 2012-07-24 10:52:04 +03:00
system Make unitConfig/serviceConfig attribute sets 2012-10-01 16:27:42 -04:00
ttys Don't restart agetty 2012-08-23 11:13:33 -04:00
web-servers Merge branch 'master' of github.com:NixOS/nixos into systemd 2012-08-20 11:27:38 -04:00
x11 Oops, systemd-inhibit should be exec'ed 2012-10-04 21:58:20 -04:00