diff --git a/setup/mods.available/remote-nextcloud.sh b/setup/mods.available/remote-nextcloud.sh index b50add94..8be13fb3 100755 --- a/setup/mods.available/remote-nextcloud.sh +++ b/setup/mods.available/remote-nextcloud.sh @@ -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 \