We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82713c9 commit b0a80cdCopy full SHA for b0a80cd
scripts/starter.sh
@@ -19,6 +19,9 @@ LOGFILE="/var/log/rlft_setup.log"
19
BUILD_LOGFILE="/var/log/docker_build.log"
20
RUN_LOGFILE="/var/log/docker_run.log"
21
22
+# Step x: Shutdown VM instance
23
+trap 'echo "Shutting down VM..."; sudo shutdown now' EXIT
24
+
25
# Step 0: Redirect all logs
26
exec > >(sudo tee -a "$LOGFILE") 2>&1
27
echo "===== Starting RLFT setup at $(date) ====="
0 commit comments