From 2e83dde7c1b91a1a2ac297dc0f6fcde2d54ef68f Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Tue, 4 Aug 2020 16:23:38 +0000 Subject: [PATCH] fixed oopsie --- ins-instructions.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ins-instructions.txt b/ins-instructions.txt index 1a9e8c4..4e95a9f 100644 --- a/ins-instructions.txt +++ b/ins-instructions.txt @@ -7,11 +7,12 @@ #Apt list apt install -y dovecot-imapd nginx php7.3-xml php7.3-fpm php7.3-curl offlineimap sudo +#place all configfiles to the repective location #dirs and perms mkdir /mail chmod 777 /mail chown www-data:www-data -R /var/www -#place all configfiles to the repective location +touch /opt/mailsync.sh #restart services or the system systemctl enable nginx dovecot systemctl stop nginx dovecot @@ -26,7 +27,7 @@ systemctl start nginx dovecot # | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat # | | | | | # * * * * * -echo '30 2 * * 4 root bash /opt/BackupUtil/Backup-Util.sh >/dev/null 2>&1' >> /etc/crontab +echo '30 2 * * 4 root bash /opt/mailsync.sh >/dev/null 2>&1' >> /etc/crontab #add user/sync job adduser