We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d29cebc commit 116f5fbCopy full SHA for 116f5fb
1 file changed
bin/v-restart-service
@@ -44,7 +44,8 @@ elif [ "$service" = "iptables" ]; then
44
check_result $E_RESTART "ERROR: Restart of $service failed."
45
log_history "Restart of $service failed."
46
fi
47
-elif [ "$service" = "cron" ] || [ "$service" = "mysql" ] || [ "$service" = "hestia" ]; then
+
48
+if [ "$service" = "cron" ] || [ "$service" = "mysql" ] || [ "$service" = "hestia" ]; then
49
# Restart services not eligible for configuration reload
50
systemctl restart $service > /dev/null 2>&1
51
if [ $? -ne 0 ]; then
0 commit comments