Compare commits

...

2 Commits

Author SHA1 Message Date
Thomas Hobson 8c3d4cb77f
Merge pull request #318 from Brikaa/piston-bash
Added bash shell option in piston script
2021-09-12 00:23:32 +12:00
Brikaa 5004635c55 Added bash shell option in piston script 2021-09-11 14:20:36 +02:00
1 changed files with 9 additions and 7 deletions

2
piston
View File

@ -23,6 +23,7 @@ case $1 in
echo " start Starts piston"
echo " stop Stops piston"
echo " restart Restarts piston"
echo " bash Opens a bash shell for the piston_api container"
echo
echo " update Fetches and applies latest updates"
echo
@ -51,6 +52,7 @@ case $1 in
restart) docker_compose restart ;;
start) docker_compose up -d ;;
stop) docker_compose down ;;
bash) docker_compose exec api /bin/bash ;;
update)
git pull