diff --git a/installer.sh b/installer.sh index 3abd31b..6a1d88f 100644 --- a/installer.sh +++ b/installer.sh @@ -71,9 +71,9 @@ dhparam=1024 hostnamectl set-hostname $domain > $OUTPUT 2>&1 timedatectl set-timezone Europe/Amsterdam > $OUTPUT 2>&1 -adduser --system --no-create-home --disabled-password --disabled-login --shell /bin/false --group --home /var/lib/clamav clamav -mkdir -p /var/run/clamav -chown clamav:clamav /var/run/clamav +#adduser --system --no-create-home --disabled-password --disabled-login --shell /bin/false --group --home /var/lib/clamav clamav +#mkdir -p /var/run/clamav +#chown clamav:clamav /var/run/clamav mkdir -p /etc/nginx mkdir -p /var/www/"$domain"/html chmod -R 755 /var/www @@ -96,7 +96,7 @@ $PKGI software-properties-common $PKGA universe -y > $OUTPUT 2>&1 $PKGA ppa:ondrej/php > $OUTPUT 2>&1 wget -q -O- https://repo.dovecot.org/DOVECOT-REPO-GPG | sudo apt-key add - -echo "deb https://repo.dovecot.org/ce-2.3-latest/ubuntu/$(lsb_release -cs) $(lsb_release -cs) main" | sudo tee -a /etc/apt/sources.list.d/dovecot.list > $OUTPUT 2>&1 +echo "deb https://repo.dovecot.org/ce-2.3-latest/ubuntu/$(lsb_release -cs) $(lsb_release -cs) main" | sudo tee -a /etc/apt/sources.list.d/dovecot.list $PKGM update $PKGM upgrade -y