fix service name for service deps
This commit is contained in:
parent
eb8b4d06c8
commit
d85a8783c0
@ -50,8 +50,8 @@ in {
|
|||||||
|
|
||||||
systemd.services."tinc.${netname}-host-keys" = {
|
systemd.services."tinc.${netname}-host-keys" = {
|
||||||
description = "Install tinc.${netname} host keys";
|
description = "Install tinc.${netname} host keys";
|
||||||
requiredBy = [ "tinc.${netname}" ];
|
requiredBy = [ "tinc.${netname}.service" ];
|
||||||
before = [ "tinc.${netname}" ];
|
before = [ "tinc.${netname}.service" ];
|
||||||
script = ''
|
script = ''
|
||||||
rm -rf /etc/tinc/${netname}/hosts
|
rm -rf /etc/tinc/${netname}/hosts
|
||||||
cp -R ${../../hosts} /etc/tinc/${netname}/hosts
|
cp -R ${../../hosts} /etc/tinc/${netname}/hosts
|
||||||
|
Loading…
Reference in New Issue
Block a user