mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-08 14:40:07 +03:00
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
@ -88,8 +88,8 @@ in
|
|||||||
jobs.gpsd =
|
jobs.gpsd =
|
||||||
{ description = "GPSD daemon";
|
{ description = "GPSD daemon";
|
||||||
|
|
||||||
startOn = "started network-interfaces";
|
startOn = "ip-up";
|
||||||
stopOn = "stopping network-interfaces";
|
stopOn = "ip-down";
|
||||||
|
|
||||||
exec =
|
exec =
|
||||||
''
|
''
|
||||||
|
@ -118,8 +118,8 @@ in
|
|||||||
jobs.avahi_daemon =
|
jobs.avahi_daemon =
|
||||||
{ name = "avahi-daemon";
|
{ name = "avahi-daemon";
|
||||||
|
|
||||||
startOn = "started network-interfaces";
|
startOn = "ip-up";
|
||||||
stopOn = "stopping network-interfaces";
|
stopOn = "ip-down";
|
||||||
|
|
||||||
script =
|
script =
|
||||||
''
|
''
|
||||||
|
@ -67,8 +67,8 @@ in
|
|||||||
jobs.bitlbee =
|
jobs.bitlbee =
|
||||||
{ description = "BitlBee IRC to other chat networks gateway";
|
{ description = "BitlBee IRC to other chat networks gateway";
|
||||||
|
|
||||||
startOn = "started network-interfaces";
|
startOn = "ip-up";
|
||||||
stopOn = "stopping network-interfaces";
|
stopOn = "ip-down";
|
||||||
|
|
||||||
preStart =
|
preStart =
|
||||||
''
|
''
|
||||||
|
@ -66,8 +66,8 @@ in
|
|||||||
jobs.portmap =
|
jobs.portmap =
|
||||||
{ description = "ONC RPC portmap";
|
{ description = "ONC RPC portmap";
|
||||||
|
|
||||||
startOn = "started network-interfaces";
|
startOn = "ip-up";
|
||||||
stopOn = "stopping network-interfaces";
|
stopOn = "ip-down";
|
||||||
|
|
||||||
exec =
|
exec =
|
||||||
''
|
''
|
||||||
|
Loading…
Reference in New Issue
Block a user