1
0
Fork 0

fix nextcloud test when nextcloud is not enabled

This commit is contained in:
ibizaman 2024-09-02 07:06:35 +02:00 committed by Pierre Penninckx
parent 283fb71a1b
commit 35bfb01848

View file

@ -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