Enhance scripts logging

This commit is contained in:
Jean Froment 2019-05-01 19:57:25 +02:00
parent 32681a9c74
commit ad7ff798f2
2 changed files with 6 additions and 5 deletions

View File

@ -1,7 +1,8 @@
#!/bin/bash
echo "[$0] Initializing..."
sudo mkdir /opt/traefik
sudo touch /opt/traefik/acme.json && sudo chmod 600 /opt/traefik/acme.json
cp .env.sample .env
cp tunnel-options.sh.sample tunnel-options.sh
echo "Please edit .env file and tunnel-options.sh"
echo "[$0] Please edit .env file"
exit 0

View File

@ -1,8 +1,8 @@
#!/bin/bash
echo "Pulling all images..."
echo "[$0] ***** Pulling all images... *****"
docker-compose pull
echo "Recreating containers if required..."
echo "[$0] ***** Recreating containers if required... *****"
docker-compose up -d
echo "Done."
echo "[$0] ***** Done. *****"
exit 0