nixos/palace: Add BindsTo=
dependency for river on cellar
This commit is contained in:
parent
4624480c8b
commit
cc07964fac
@ -69,7 +69,8 @@
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
requires = [ vtapUnit ];
|
requires = [ vtapUnit ];
|
||||||
after = [ vtapUnit ];
|
after = [ vtapUnit "vm@cellar.service" ];
|
||||||
|
bindsTo = [ "vm@cellar.service" ];
|
||||||
preStart = ''
|
preStart = ''
|
||||||
until ${pkgs.netcat}/bin/nc -w1 -z ${allAssignments.cellar.hi.ipv4.address} 22; do
|
until ${pkgs.netcat}/bin/nc -w1 -z ${allAssignments.cellar.hi.ipv4.address} 22; do
|
||||||
sleep 1
|
sleep 1
|
||||||
|
Loading…
Reference in New Issue
Block a user