tsuki: add some systemd constraints
Add some systemd constraints to some fix boottime service failures
This commit is contained in:
parent
a08f6ce28e
commit
5b0dd71b4a
|
@ -119,4 +119,10 @@
|
|||
ensureUsers =
|
||||
(o config.services.minecraft-servers.enable (db "dynmap"));
|
||||
};
|
||||
|
||||
systemd.services.minecraft-server-kakuland.requires = [ "postgresql.service" ];
|
||||
systemd.services.minecraft-server-kakuland.after = [
|
||||
"postgresql.service"
|
||||
"data2-momiji.mount"
|
||||
];
|
||||
}
|
||||
|
|
|
@ -4,5 +4,10 @@
|
|||
enable = true;
|
||||
port = secrets.ports.osuchan;
|
||||
secretFile = "${config.machineVars.dataDrives.default}/keys/osuchan/envfile";
|
||||
|
||||
};
|
||||
|
||||
systemd.services.osuchan.after = [
|
||||
"data2-momiji.mount"
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue