gitea,nextcloud,roundcube,mailserver: depend on kanidm systemd service

This commit is contained in:
Alexander Tomokhov
2025-02-03 01:04:19 +04:00
parent ee2e404eb8
commit ea443d2150
4 changed files with 7 additions and 1 deletions

View File

@@ -132,8 +132,8 @@ in
# TODO does it merge with existing preStart?
preStart = setPwdInLdapConfFile + "\n" + write-dovecot-oauth2-conf + "\n";
# FIXME pass dependant services to auth module option instead?
wants = [ auth-passthru.oauth2-systemd-service ];
after = [ auth-passthru.oauth2-systemd-service ];
requires = [ auth-passthru.oauth2-systemd-service ];
serviceConfig.RuntimeDirectory = lib.mkForce [ runtime-directory ];
};