fixed oopsie
This commit is contained in:
@@ -7,11 +7,12 @@
|
|||||||
|
|
||||||
#Apt list
|
#Apt list
|
||||||
apt install -y dovecot-imapd nginx php7.3-xml php7.3-fpm php7.3-curl offlineimap sudo
|
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
|
#dirs and perms
|
||||||
mkdir /mail
|
mkdir /mail
|
||||||
chmod 777 /mail
|
chmod 777 /mail
|
||||||
chown www-data:www-data -R /var/www
|
chown www-data:www-data -R /var/www
|
||||||
#place all configfiles to the repective location
|
touch /opt/mailsync.sh
|
||||||
#restart services or the system
|
#restart services or the system
|
||||||
systemctl enable nginx dovecot
|
systemctl enable nginx dovecot
|
||||||
systemctl stop 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
|
# | | | | .---- 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
|
#add user/sync job
|
||||||
adduser <localname>
|
adduser <localname>
|
||||||
|
|||||||
Reference in New Issue
Block a user