install_update_dovecot.sh: fix minor error restarting rsyslog.
This commit is contained in:
parent
aad56b6497
commit
2110953673
@ -2205,7 +2205,12 @@ EOF
|
||||
fatal "Creating file /etc/rsyslog.d/dovecot.conf failed"
|
||||
fi
|
||||
|
||||
/etc/init.d/rsyslog restart > /dev/null 2>&1
|
||||
echononl "\tRestart rsyslog Servive"
|
||||
if $systemd_support ; then
|
||||
systemctl restart rsyslog.service > /dev/null 2>&1
|
||||
else
|
||||
/etc/init.d/rsyslog restart > /dev/null 2>&1
|
||||
fi
|
||||
if [ "$?" = 0 ]; then
|
||||
echo -e "$rc_done"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user