We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 054bcee commit 54ff348Copy full SHA for 54ff348
bin/v-restart-service
@@ -29,7 +29,7 @@ check_args '1' "$#" 'SERVICE'
29
#----------------------------------------------------------#
30
31
if [ "$service" != "iptables" ]; then
32
- systemctl restart $service > /dev/null 2>&1
+ systemctl reload $service > /dev/null 2>&1
33
if [ $? -ne 0 ]; then
34
check_result $E_RESTART "ERROR: Restart of $service failed."
35
log_history "Restart of $service failed."
0 commit comments