Jafner.net/homelab/fighter/scripts/shutdown.sh
Joey Hafner 6086222503
Reorganize root level of repo.
- Move homelab, Jafner.dev (now called blog) to root.
- Rename "archived projects" -> "archive"
- Rename "active projects" -> "projects"
- Rename "jafner-homebrew" -> "5ehomebrew"
- Rename "docker-llm-amd" -> "local-ai"
2024-07-16 12:17:55 -07:00

8 lines
419 B
Bash

#!/bin/bash
for stack in /home/admin/homelab/fighter/config/*; do cd $stack && docker compose down; done
## I don't think unmounting each mount is actually necessary or useful.
#sudo umount /mnt/nas/iscsi
#sudo iscsiadm --mode node --targetname "iqn.2020-03.net.jafner:fighter" --portal "192.168.1.10:3260" --logout
#for mount in media calibre-web torrenting av; do sudo umount /mnt/nas/$mount; done
sudo shutdown now