Skip to content

Commit 116f5fb

Browse files
author
Kristan Kenney
committed
Update routine in v-restart-service
1 parent d29cebc commit 116f5fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/v-restart-service

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ elif [ "$service" = "iptables" ]; then
4444
check_result $E_RESTART "ERROR: Restart of $service failed."
4545
log_history "Restart of $service failed."
4646
fi
47-
elif [ "$service" = "cron" ] || [ "$service" = "mysql" ] || [ "$service" = "hestia" ]; then
47+
48+
if [ "$service" = "cron" ] || [ "$service" = "mysql" ] || [ "$service" = "hestia" ]; then
4849
# Restart services not eligible for configuration reload
4950
systemctl restart $service > /dev/null 2>&1
5051
if [ $? -ne 0 ]; then

0 commit comments

Comments
 (0)