Update v-clean-garbage: restart exim4

This commit is contained in:
myvesta 2024-04-04 14:48:56 +02:00 committed by GitHub
parent 20695198f4
commit 55e0fcb5de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -97,6 +97,12 @@ if [ -f "/usr/local/bin/tailf_exim.php" ]; then
nohup php /usr/local/bin/tailf_exim.php > /var/log/tailf_exim.log 2>&1 &
fi
exim_installed=$(/usr/local/vesta/bin/v-list-sys-services | grep -c 'exim')
if [ $exim_installed -gt 0 ]; then
systemctl restart exim4
fi
#----------------------------------------------------------#
# Vesta #
#----------------------------------------------------------#