Start networking services on `ip-up' when it makes sense.
svn path=/nixos/trunk/; revision=18962
This commit is contained in:
parent
401fd84ae1
commit
3f2348ef91
4 changed files with 8 additions and 8 deletions
|
@ -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 =
|
||||
''
|
||||
|
|
|
@ -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 =
|
||||
''
|
||||
|
|
|
@ -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 =
|
||||
''
|
||||
|
|
|
@ -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 =
|
||||
''
|
||||
|
|
Loading…
Reference in a new issue