mirror of
https://github.com/myvesta/vesta
synced 2025-07-05 04:26:23 -07:00
Added a command that will download Dovecot logrotate script
This commit is contained in:
parent
6b8be44b04
commit
9ab813feee
5 changed files with 9 additions and 0 deletions
|
@ -1020,6 +1020,7 @@ fi
|
|||
if [ "$dovecot" = 'yes' ]; then
|
||||
gpasswd -a dovecot mail
|
||||
wget $vestacp/dovecot.tar.gz -O /etc/dovecot.tar.gz
|
||||
wget $vestacp/logrotate/dovecot -O /etc/logrotate.d/dovecot
|
||||
cd /etc
|
||||
rm -rf dovecot dovecot.conf
|
||||
tar -xzf dovecot.tar.gz
|
||||
|
|
|
@ -1087,6 +1087,7 @@ fi
|
|||
if [ "$dovecot" = 'yes' ]; then
|
||||
gpasswd -a dovecot mail
|
||||
wget $vestacp/dovecot.tar.gz -O /etc/dovecot.tar.gz
|
||||
wget $vestacp/logrotate/dovecot -O /etc/logrotate.d/dovecot
|
||||
cd /etc
|
||||
rm -rf dovecot dovecot.conf
|
||||
tar -xzf dovecot.tar.gz
|
||||
|
|
|
@ -1009,6 +1009,7 @@ fi
|
|||
if [ "$dovecot" = 'yes' ]; then
|
||||
gpasswd -a dovecot mail
|
||||
wget $vestacp/dovecot.tar.gz -O /etc/dovecot.tar.gz
|
||||
wget $vestacp/logrotate/dovecot -O /etc/logrotate.d/dovecot
|
||||
cd /etc
|
||||
rm -rf dovecot dovecot.conf
|
||||
tar -xzf dovecot.tar.gz
|
||||
|
|
|
@ -94,3 +94,6 @@ if [ -f "$file" ] && [ $( grep -ic "NAT=''" $file ) -eq 1 ]; then
|
|||
v-change-sys-ip-nat $ip $pub_ip
|
||||
fi
|
||||
fi
|
||||
|
||||
# Dovecot logrorate script
|
||||
wget $vestacp/logrotate/dovecot -O /etc/logrotate.d/dovecot
|
||||
|
|
|
@ -132,3 +132,6 @@ if [ -f "/lib/systemd/system/clamav-daemon.service" ]; then
|
|||
service clamav-daemon restart > /dev/null 2>&1
|
||||
fi
|
||||
fi
|
||||
|
||||
# Dovecot logrorate script
|
||||
wget $vestacp/logrotate/dovecot -O /etc/logrotate.d/dovecot
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue