Skip to content

Commit da0f236

Browse files
Added @name and @description for test
1 parent 5ee4027 commit da0f236

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
#!/usr/bin/env bash
22
# 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
35
if systemctl is-active --quiet docker; then echo "Docker service running"; exit 0; else echo "Docker service NOT running"; exit 1; fi
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
#!/usr/bin/env bash
22
# Collect - SSH Port (from SSH Port Fetch.sh)
3+
4+
# @name:Collect - SSH Port
5+
# @description: Fetches SHH Port from sshd_config
6+
37
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

Comments
 (0)