Skip to content

Commit 0693713

Browse files
committed
feat: list systemd services
1 parent 1bf67ac commit 0693713

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

Justfile

+11-1
Original file line numberDiff line numberDiff line change
@@ -402,4 +402,14 @@ game:
402402
# Delete all failed pods
403403
[group('k8s')]
404404
del-failed:
405-
kubectl delete pod --all-namespaces --field-selector="status.phase==Failed"
405+
kubectl delete pod --all-namespaces --field-selector="status.phase==Failed"
406+
407+
[linux]
408+
[group('services')]
409+
list-inactive:
410+
systemctl list-units -all --state=inactive
411+
412+
[linux]
413+
[group('services')]
414+
list-failed:
415+
systemctl list-units -all --state=failed

0 commit comments

Comments
 (0)