cardano-node: ensure service starts after nixops keys are loaded
This commit is contained in:
parent
d34c19fd09
commit
99392561a6
|
@ -39,6 +39,24 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd = {
|
||||||
|
services = {
|
||||||
|
cardano-node = {
|
||||||
|
# Ensure cardano-node starts after nixops keys are loaded
|
||||||
|
after = [
|
||||||
|
"cardano-kes-key.service"
|
||||||
|
"cardano-opcert-key.service"
|
||||||
|
"cardano-vrf-key.service"
|
||||||
|
];
|
||||||
|
wants = [
|
||||||
|
"cardano-kes-key.service"
|
||||||
|
"cardano-opcert-key.service"
|
||||||
|
"cardano-vrf-key.service"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
firewall = {
|
firewall = {
|
||||||
allowedTCPPorts = [
|
allowedTCPPorts = [
|
||||||
|
|
Loading…
Reference in a new issue