Compare commits
1 Commits
fa6d9b4fe2
...
e05e695bd8
Author | SHA1 | Date |
---|---|---|
Dennis - | e05e695bd8 |
|
@ -113,7 +113,7 @@ in {
|
|||
{
|
||||
systemd.services = lib.genAttrs (builtins.genList (n: "gitea-runner-nix${builtins.toString n}-token") cfg.numInstances) (name: {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after =lib.optional config.services.gitea.enable [ "gitea.service" ];
|
||||
after =lib.optional config.services.gitea.enable "gitea.service";
|
||||
unitConfig.ConditionPathExists = [ "!/var/lib/gitea-registration/${name}" ];
|
||||
script = ''
|
||||
set -euo pipefail
|
||||
|
|
Loading…
Reference in New Issue