nixos/gitlab: convert gitlab-registry-cert.service to oneshot

docker-registry.service has a `After` dependency on gitlab-registry-cert.
On the first start, docker-registry.service fails to start as it already
runs when gitlab-registry-cert.service starts up, and not when it finished.
This commit is contained in:
Leona Maroni
2025-03-17 09:19:23 +01:00
parent 70df90174f
commit 50fc446be1
+1
View File
@@ -1231,6 +1231,7 @@ in {
ConditionPathExists = "!${cfg.registry.certFile}";
};
serviceConfig = {
Type = "oneshot";
Slice = "system-gitlab.slice";
};
};