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 db44a58 commit 68ce7d8Copy full SHA for 68ce7d8
bin/v-restart-service
@@ -23,16 +23,11 @@ PATH="$PATH:/usr/local/sbin:/sbin:/usr/sbin:/root/bin"
23
#----------------------------------------------------------#
24
25
check_args '1' "$#" 'SERVICE'
26
-service_status=$(pgrep $service)
27
28
29
# Action #
30
31
32
-if [ -z "$service_status" ]; then
33
- force="yes"
34
-fi
35
-
36
if [ "$service" = "iptables" ]; then
37
# Run the restart rules for iptables firewall
38
$BIN/v-stop-firewall
0 commit comments