diff --git a/init.sh b/init.sh index 75d8db1..5b3e299 100755 --- a/init.sh +++ b/init.sh @@ -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 \ No newline at end of file diff --git a/update-all.sh b/update-all.sh index a010659..8817f58 100755 --- a/update-all.sh +++ b/update-all.sh @@ -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 \ No newline at end of file