This commit is contained in:
John Lancaster
2024-06-14 23:34:27 -05:00
parent ca7f62afe3
commit 1cae18670a
7 changed files with 75 additions and 11 deletions

6
cleanup_services.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
for service in $(systemctl list-units --type=service --no-legend | grep example | awk '{print $1}'); do
sudo systemctl stop $service
echo "Stopped $service"
done