summaryrefslogtreecommitdiff
path: root/status.sh
diff options
context:
space:
mode:
authorGuillermo Ramos2020-05-16 17:42:01 +0200
committerGuillermo Ramos2020-05-16 17:42:01 +0200
commitedc912e5617f41326c1198aad7ff813081e34abf (patch)
tree98624b4507e3f30a84a34fe879ee931ae0fbd2ab /status.sh
parentadc123903f329e157bfeeab1c9b8a832ce87c2df (diff)
downloads6-services-edc912e5617f41326c1198aad7ff813081e34abf.tar.gz
Control scripts
Diffstat (limited to 'status.sh')
-rwxr-xr-xstatus.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/status.sh b/status.sh
new file mode 100755
index 0000000..8eae367
--- /dev/null
+++ b/status.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+shopt -s nullglob
+for svc in ~/s6/service/*; do
+ echo -n "$(basename $svc): "
+ s6-svstat $svc
+done