Browse Source

Fix up brackets as they don't execute

master 0.0.1.9
nolim1t 5 years ago
parent
commit
032bebfca8
No known key found for this signature in database GPG Key ID: F6287B82CC84BCBD
  1. 4
      stage2/04-docker-compose/files/compose-service

4
stage2/04-docker-compose/files/compose-service

@ -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
@ -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

Loading…
Cancel
Save