Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
Fix up brackets as they don't execute
Browse files Browse the repository at this point in the history
  • Loading branch information
nolim1t committed Mar 11, 2020
1 parent e84c3a6 commit 032bebf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stage2/04-docker-compose/files/compose-service
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ SCRIPTNAME=/etc/init.d/$NAME

case "$1" in
start)
if [[ -f /home/umbrel/docker-compose.yml ]]; then
if [ -f /home/umbrel/docker-compose.yml ]; then
sed -i 's/\${HOME}/\/home\/umbrel/g; ' /home/umbrel/docker-compose.yml
echo "Starting"
cd /home/umbrel
Expand All @@ -31,7 +31,7 @@ case "$1" in
fi
;;
stop)
if [[ -f /home/umbrel/docker-compose.yml ]]; then
if [ -f /home/umbrel/docker-compose.yml ]; then
sed -i 's/\${HOME}/\/home\/umbrel/g; ' /home/umbrel/docker-compose.yml
echo "Stopping docker"
cd /home/umbrel
Expand Down

0 comments on commit 032bebf

Please sign in to comment.