mirror of
https://github.com/myvesta/vesta
synced 2025-07-05 20:41:53 -07:00
Update v-clean-garbage: restart exim4
This commit is contained in:
parent
20695198f4
commit
55e0fcb5de
1 changed files with 6 additions and 0 deletions
|
@ -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 #
|
||||
#----------------------------------------------------------#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue