nsd-acme is now a requirement for services

This commit is contained in:
Motiejus Jakštys 2023-08-22 14:32:09 +03:00
parent 833b2bd1cf
commit d812f5f91d

View File

@ -245,7 +245,7 @@
"grafana.jakstys.lt-key.pem:${acme.keyFile}"
];
after = ["nsd-acme-grafana.jakstys.lt.service"];
wants = ["nsd-acme-grafana.jakstys.lt.service"];
requires = ["nsd-acme-grafana.jakstys.lt.service"];
};
soju = let
@ -263,7 +263,7 @@
ln -sf $CREDENTIALS_DIRECTORY/irc.jakstys.lt-key.pem /run/soju/key.pem
'';
after = ["nsd-acme-irc.jakstys.lt.service"];
wants = ["nsd-acme-irc.jakstys.lt.service"];
requires = ["nsd-acme-irc.jakstys.lt.service"];
};
grafana = {