cleaned up start.sh

This commit is contained in:
Mushka Nikita 2023-03-16 13:57:31 +03:00
parent c15165ba82
commit a8a57a8548

View File

@ -4,9 +4,9 @@ scriptLocation=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pw
root=$(builtin cd $scriptLocation/../../; pwd)
if [ "$1" = "Start" ]
then (cd $root/build/start && sh ./start.backend.docker.sh)
then (sh $root/build/start/start.backend.docker.sh)
elif [ "$1" = "Restart" ]
then (cd $root/build/start && sh ./restart.backend.docker.sh)
then (sh $root/build/start/restart.backend.docker.sh)
elif [ "$1" = "Stop" ]
then (cd $root/build/start && sh ./stop.backend.docker.sh)
then (sh $root/build/start/stop.backend.docker.sh)
fi