nixos/nextcloud: fail systemd-service if apps don't activate
This commit is contained in:
parent
18b18929d7
commit
1852212872
1 changed files with 1 additions and 1 deletions
|
@ -757,7 +757,7 @@ in {
|
|||
|
||||
${optionalString (cfg.extraAppsEnable && cfg.extraApps != { }) ''
|
||||
# Try to enable apps (don't fail when one of them cannot be enabled , eg. due to incompatible version)
|
||||
${occ}/bin/nextcloud-occ app:enable ${builtins.concatStringsSep " " ( lib.mapAttrsToList (name: target: "${name}") cfg.extraApps)} || true
|
||||
${occ}/bin/nextcloud-occ app:enable ${builtins.concatStringsSep " " ( lib.mapAttrsToList (name: target: "${name}") cfg.extraApps)}
|
||||
''}
|
||||
|
||||
${occSetTrustedDomainsCmd}
|
||||
|
|
Loading…
Reference in a new issue