Trying to make the thing restart when config has been updated

This commit is contained in:
retropikzel 2024-09-28 16:45:06 +03:00
parent 93d24f2539
commit cd208e67af
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ if [[ $(git rev-parse HEAD) != $(git rev-parse @{u}) ]]
then
echo 'Behind remote config; updating'
git pull
docker-compose stop
fi
docker-compose up -d --build