fix: prompt to edit .env before starting service on first deploy

This commit is contained in:
he
2026-07-28 11:32:26 -04:00
parent 1989d9a34f
commit 1982f72a38
+5 -1
View File
@@ -203,7 +203,11 @@ EOF
sed -i "s|^TS_AUTHKEY=.*|TS_AUTHKEY=$key|" "$env_file"
fi
fi
log ".env created at $env_file — edit it if needed before continuing"
log ".env created at $env_file"
if confirm "Edit .env before starting?" Y; then
"${EDITOR:-nano}" "$env_file"
log "Continuing with startup..."
fi
fi
log "Starting $svc..."