Initial commit

This commit is contained in:
trf
2026-03-15 22:08:02 +01:00
commit e65b6b1efa
2 changed files with 103 additions and 0 deletions

18
remove_pod_systemd_services.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
# Remove pod and containers systemd services
# Environment variables
POD_NAME='traefik_pod'
CTR_NAME='traefik_ctr'
systemctl --user stop pod-"$POD_NAME".service
systemctl --user disable pod-"$POD_NAME".service
systemctl --user stop container-"$CTR_NAME".service
systemctl --user disable container-"$CTR_NAME".service
systemctl --user reset-failed
rm -f ~/.config/systemd/user/pod-"$POD_NAME".service
rm -f ~/.config/systemd/user/container-"$CTR_NAME".service
systemctl --user daemon-reload
systemctl --user list-unit-files | grep -E 'pod-|container-' || echo "No pod/container units found"