roundcube: specify systemd dependencies with dovecot
This commit is contained in:
@@ -91,7 +91,7 @@ in
|
|||||||
|
|
||||||
systemd.slices.roundcube.description = "Roundcube service slice";
|
systemd.slices.roundcube.description = "Roundcube service slice";
|
||||||
# Roundcube depends on Dovecot and its OAuth2 client secret.
|
# Roundcube depends on Dovecot and its OAuth2 client secret.
|
||||||
systemd.services.roundcube.after = [ "dovecot2.service" ];
|
systemd.services.phpfpm-roundcube.after = [ "dovecot2.service" ];
|
||||||
}
|
}
|
||||||
# the following part is active only when "auth" module is enabled
|
# the following part is active only when "auth" module is enabled
|
||||||
(lib.mkIf is-auth-enabled {
|
(lib.mkIf is-auth-enabled {
|
||||||
@@ -127,7 +127,7 @@ in
|
|||||||
originUrl = "https://${cfg.subdomain}.${domain}/index.php/login/oauth";
|
originUrl = "https://${cfg.subdomain}.${domain}/index.php/login/oauth";
|
||||||
originLanding = "https://${cfg.subdomain}.${domain}/";
|
originLanding = "https://${cfg.subdomain}.${domain}/";
|
||||||
useShortPreferredUsername = false;
|
useShortPreferredUsername = false;
|
||||||
clientSystemdUnits = [ "phpfpm-roundcube.service" ];
|
clientSystemdUnits = [ "dovecot2.service" "phpfpm-roundcube.service" ];
|
||||||
enablePkce = false;
|
enablePkce = false;
|
||||||
linuxUserOfClient = linuxUserOfService;
|
linuxUserOfClient = linuxUserOfService;
|
||||||
linuxGroupOfClient = linuxGroupOfService;
|
linuxGroupOfClient = linuxGroupOfService;
|
||||||
|
Reference in New Issue
Block a user