Start networking services on `ip-up' when it makes sense.

svn path=/nixos/trunk/; revision=18962
This commit is contained in:
Ludovic Courtès 2009-12-15 13:02:23 +00:00
parent 401fd84ae1
commit 3f2348ef91
4 changed files with 8 additions and 8 deletions

View file

@ -88,8 +88,8 @@ in
jobs.gpsd =
{ description = "GPSD daemon";
startOn = "started network-interfaces";
stopOn = "stopping network-interfaces";
startOn = "ip-up";
stopOn = "ip-down";
exec =
''

View file

@ -118,8 +118,8 @@ in
jobs.avahi_daemon =
{ name = "avahi-daemon";
startOn = "started network-interfaces";
stopOn = "stopping network-interfaces";
startOn = "ip-up";
stopOn = "ip-down";
script =
''

View file

@ -67,8 +67,8 @@ in
jobs.bitlbee =
{ description = "BitlBee IRC to other chat networks gateway";
startOn = "started network-interfaces";
stopOn = "stopping network-interfaces";
startOn = "ip-up";
stopOn = "ip-down";
preStart =
''

View file

@ -66,8 +66,8 @@ in
jobs.portmap =
{ description = "ONC RPC portmap";
startOn = "started network-interfaces";
stopOn = "stopping network-interfaces";
startOn = "ip-up";
stopOn = "ip-down";
exec =
''