diff options
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/misc/taskserver/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nixos/modules/services/misc/taskserver/default.nix b/nixos/modules/services/misc/taskserver/default.nix index e0e94dac48f13..261d4d4d4b0dd 100644 --- a/nixos/modules/services/misc/taskserver/default.nix +++ b/nixos/modules/services/misc/taskserver/default.nix @@ -395,7 +395,8 @@ in { }; systemd.services.taskserver-init = { - requiredBy = [ "taskserver.service" ]; + wantedBy = [ "taskserver.service" ]; + before = [ "taskserver.service" ]; description = "Initialize Taskserver Data Directory"; preStart = '' @@ -449,7 +450,7 @@ in { }) (mkIf needToCreateCA { systemd.services.taskserver-ca = { - requiredBy = [ "taskserver.service" ]; + wantedBy = [ "taskserver.service" ]; after = [ "taskserver-init.service" ]; before = [ "taskserver.service" ]; description = "Initialize CA for TaskServer"; |