fixed oopsie

This commit is contained in:
2020-08-04 16:23:38 +00:00
parent a93599babe
commit 2e83dde7c1

View File

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