We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ee4027 commit da0f236Copy full SHA for da0f236
nexterm/scripts/Check - Docker Service.sh
@@ -1,3 +1,5 @@
1
#!/usr/bin/env bash
2
# Check - Docker Service (from Check Docker is Running.sh)
3
+# @name: Check Docker is Running
4
+# @description: Checks to See if docker service is running
5
if systemctl is-active --quiet docker; then echo "Docker service running"; exit 0; else echo "Docker service NOT running"; exit 1; fi
nexterm/scripts/Collect - SSH Port.sh
@@ -1,3 +1,7 @@
# Collect - SSH Port (from SSH Port Fetch.sh)
+
+# @name:Collect - SSH Port
+# @description: Fetches SHH Port from sshd_config
6
7
PORT=$(grep -oP '^Port\s+\K\d+' /etc/ssh/sshd_config || true); [ -z "$PORT" ] && PORT=22; echo "SSH Port: $PORT"; exit 0
0 commit comments