add shutdown nas and startup, reqs.txt and deploy.sh

This commit is contained in:
2024-10-12 02:31:52 -05:00
parent 672690974d
commit 02a485591d
3 changed files with 50 additions and 14 deletions

10
cicd_deploy.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
git pull origin main
source /.venv/bin/activate
pip install -r requirements.txt
sudo systemctl stop ups-power.service
sudo systemctl start ups-power.service