fix nextcloud test when nextcloud is not enabled
This commit is contained in:
parent
283fb71a1b
commit
35bfb01848
1 changed files with 1 additions and 1 deletions
|
@ -998,7 +998,7 @@ in
|
|||
}
|
||||
];
|
||||
})
|
||||
(lib.mkIf cfg.autoDisableMaintenanceModeOnStart {
|
||||
(lib.mkIf (cfg.enable && cfg.autoDisableMaintenanceModeOnStart) {
|
||||
systemd.services.nextcloud-setup.preStart =
|
||||
lib.mkBefore ''
|
||||
if [[ -e /var/lib/nextcloud/config/config.php ]]; then
|
||||
|
|
Loading…
Reference in a new issue