1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-04 00:17:06 +00:00

Remove nextcloud cron job when miab nextcloud is disabled

This commit is contained in:
downtownallday 2020-08-21 11:52:24 -04:00
parent d0d12fbc1c
commit 2b981db1d9

View File

@ -147,8 +147,10 @@ remote_nextcloud_handler() {
# configure zpush (which links to contacts & calendar)
configure_zpush
# prevent nginx from serving any miab-installed nextcloud files
# prevent nginx from serving any miab-installed nextcloud
# files and remove owncloud cron job
chmod 000 /usr/local/lib/owncloud
rm -f /etc/cron.d/mailinabox-nextcloud
fi
tools/editconf.py /etc/mailinabox_mods.conf \