mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2026-08-11 05:42:33 +02:00
treewide: add missing systemd ordering directives
In particular, we were missing `sops-install-secrets.service` in a ton of places, and `network-online.target` for some homebrewn services. This has caused failure of some services on machine startup.
This commit is contained in:
@@ -29,9 +29,15 @@ in
|
||||
systemd.services."httpd-passwd-sync" = {
|
||||
requiredBy = [ "userweb.target" ];
|
||||
after = [
|
||||
"network-online.target"
|
||||
"sops-install-secrets.service"
|
||||
"systemd-tmpfiles-setup.service"
|
||||
"systemd-tmpfiles-resetup.service"
|
||||
];
|
||||
requires = [
|
||||
"network-online.target"
|
||||
"sops-install-secrets.service"
|
||||
];
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
Slice = "system-userweb.slice";
|
||||
|
||||
Reference in New Issue
Block a user