Skip to content

Commit 9ab813f

Browse files
committed
Added a command that will download Dovecot logrotate script
1 parent 6b8be44 commit 9ab813f

File tree

5 files changed

+9
-0
lines changed

5 files changed

+9
-0
lines changed

install/vst-install-debian.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,6 +1020,7 @@ fi
10201020
if [ "$dovecot" = 'yes' ]; then
10211021
gpasswd -a dovecot mail
10221022
wget $vestacp/dovecot.tar.gz -O /etc/dovecot.tar.gz
1023+
wget $vestacp/logrotate/dovecot -O /etc/logrotate.d/dovecot
10231024
cd /etc
10241025
rm -rf dovecot dovecot.conf
10251026
tar -xzf dovecot.tar.gz

install/vst-install-rhel.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,6 +1087,7 @@ fi
10871087
if [ "$dovecot" = 'yes' ]; then
10881088
gpasswd -a dovecot mail
10891089
wget $vestacp/dovecot.tar.gz -O /etc/dovecot.tar.gz
1090+
wget $vestacp/logrotate/dovecot -O /etc/logrotate.d/dovecot
10901091
cd /etc
10911092
rm -rf dovecot dovecot.conf
10921093
tar -xzf dovecot.tar.gz

install/vst-install-ubuntu.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,6 +1009,7 @@ fi
10091009
if [ "$dovecot" = 'yes' ]; then
10101010
gpasswd -a dovecot mail
10111011
wget $vestacp/dovecot.tar.gz -O /etc/dovecot.tar.gz
1012+
wget $vestacp/logrotate/dovecot -O /etc/logrotate.d/dovecot
10121013
cd /etc
10131014
rm -rf dovecot dovecot.conf
10141015
tar -xzf dovecot.tar.gz

upd/upgrade-centos-v16-to-v17.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,6 @@ if [ -f "$file" ] && [ $( grep -ic "NAT=''" $file ) -eq 1 ]; then
9494
v-change-sys-ip-nat $ip $pub_ip
9595
fi
9696
fi
97+
98+
# Dovecot logrorate script
99+
wget $vestacp/logrotate/dovecot -O /etc/logrotate.d/dovecot

upd/upgrade-debian-v16-to-v17.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,3 +132,6 @@ if [ -f "/lib/systemd/system/clamav-daemon.service" ]; then
132132
service clamav-daemon restart > /dev/null 2>&1
133133
fi
134134
fi
135+
136+
# Dovecot logrorate script
137+
wget $vestacp/logrotate/dovecot -O /etc/logrotate.d/dovecot

0 commit comments

Comments
 (0)