Skip to content

Commit a942bae

Browse files
author
Kristan Kenney
committed
Add MariaDB to reloadable service exclusions
1 parent e796530 commit a942bae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-restart-service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ check_args '1' "$#" 'SERVICE'
2828
# Action #
2929
#----------------------------------------------------------#
3030

31-
if [ "$service" != "iptables" ] || [ "$service" !="cron" ]; then
31+
if [ "$service" != "iptables" ] || [ "$service" !="cron" ] || [ "$service" !="mysql" ]; then
3232
systemctl reload $service > /dev/null 2>&1
3333
if [ $? -ne 0 ]; then
3434
check_result $E_RESTART "ERROR: Restart of $service failed."

0 commit comments

Comments
 (0)