We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e796530 commit a942baeCopy full SHA for a942bae
1 file changed
bin/v-restart-service
@@ -28,7 +28,7 @@ check_args '1' "$#" 'SERVICE'
28
# Action #
29
#----------------------------------------------------------#
30
31
-if [ "$service" != "iptables" ] || [ "$service" !="cron" ]; then
+if [ "$service" != "iptables" ] || [ "$service" !="cron" ] || [ "$service" !="mysql" ]; then
32
systemctl reload $service > /dev/null 2>&1
33
if [ $? -ne 0 ]; then
34
check_result $E_RESTART "ERROR: Restart of $service failed."
0 commit comments