fixing order of operations for clone, chmod and script execution

This commit is contained in:
2025-12-05 17:26:15 +00:00
parent 646ab174df
commit 0839e3b9b8
2 changed files with 11 additions and 0 deletions

View File

@@ -1,2 +1,7 @@
sudo git clone http://192.168.20.213:3000/chris/dockercomposefiles.git /haven_data/dockercomposefiles
echo "Setting Permissions...\c"
sudo chown -R :havenuser /haven_data/dockercomposefiles/
sudo chmod -R 770 /haven_data/dockercomposefiles/
./dockerdeploy.sh

View File

@@ -7,4 +7,10 @@ echo "git stash drop \c"
git stash drop
echo "git pull:\c"
git pull
echo "Setting Permissions...\c"
sudo chown -R :havenuser /haven_data/dockercomposefiles/
sudo chmod -R 770 /haven_data/dockercomposefiles/
./redeploydocker.sh