Skip to content

Commit 54ff348

Browse files
author
Kristan Kenney
committed
Reload service configuration instead of restarting
1 parent 054bcee commit 54ff348

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
@@ -29,7 +29,7 @@ check_args '1' "$#" 'SERVICE'
2929
#----------------------------------------------------------#
3030

3131
if [ "$service" != "iptables" ]; then
32-
systemctl restart $service > /dev/null 2>&1
32+
systemctl reload $service > /dev/null 2>&1
3333
if [ $? -ne 0 ]; then
3434
check_result $E_RESTART "ERROR: Restart of $service failed."
3535
log_history "Restart of $service failed."

0 commit comments

Comments
 (0)