From eec11647bf9cc8900fe0225bb97ea34d0365a383 Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Wed, 31 Oct 2018 18:44:28 +0100 Subject: [PATCH] add notifications --- nextcloud-startup-script.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nextcloud-startup-script.sh b/nextcloud-startup-script.sh index 3dbf31ba..54b32f0a 100644 --- a/nextcloud-startup-script.sh +++ b/nextcloud-startup-script.sh @@ -417,6 +417,10 @@ do done clear +# Set notification for admin +sudo -u www-data php /var/www/nextcloud/occ notification:generate -l "Please remember to setup SMTP to be able to send shared links, user notficatoins and more via email. Please go here and start setting it up: https://your-nextcloud/settings/admin." ncadmin "Please setup SMTP" +sudo -u www-data php /var/www/nextcloud/occ notification:generate -l "If you need support, please visit the shop: https://shop.hanssonit.se" ncadmin "Do you need support?" + # Fixes https://github.com/nextcloud/vm/issues/58 a2dismod status restart_webserver