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 7bab19c commit 48f5ff6Copy full SHA for 48f5ff6
bin/v-list-sys-services
@@ -199,6 +199,15 @@ if [ ! -z "$service" ] && [ "$service" != 'remote' ]; then
199
str="$str STATE='$state' CPU='0' MEM='0' RTIME='0'"
200
fi
201
202
+# Fail2ban
203
+service=$FIREWALL_EXTENSION
204
+if [ ! -z "$service" ] && [ "$service" != 'remote' ]; then
205
+ get_srv_state $service
206
+ str="$str\nNAME='$service' SYSTEM='job scheduler' STATE='$state'"
207
+ str="$str CPU='$cpu' MEM='$mem' RTIME='$rtime'"
208
+fi
209
+
210
211
# Defining config
212
echo -e "$str" > $tmp_file
213
conf=$tmp_file
0 commit comments