File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Type=oneshot
77WorkingDirectory =/home/user
88ExecStartPre =sleep 60
99ExecStart =/home/user/.cargo/bin/proof_aggregator /home/user/config/config-proof-aggregator.yaml
10- ExecStartPost =/home/user/repos/aggregation_mode /aligned_layer/infra/aggregation_mode/aggregation_mode_shutdown.sh
10+ ExecStartPost =/home/user/repos/proof_aggregation /aligned_layer/infra/aggregation_mode/aggregation_mode_shutdown.sh
1111RemainAfterExit =yes
1212Environment ="SP1_PROVER=cuda"
1313EnvironmentFile =/home/app/config/.env.aggregation_mode_shutdown
Original file line number Diff line number Diff line change @@ -6,10 +6,11 @@ echo "Stopping GPU Server..."
66
77sleep 120
88
9- curl -X POST " $BASE_URL / instances/$INSTANCE_ID /stop" \
10- -H " Authorization: Bearer $API_KEY " \
9+ curl -X POST " https://dashboard.tensordock.com/api/v2/ instances/41ef030d-22f2-4e5e-852e-cb21982271c0 /stop" \
10+ -H " Authorization: Bearer fwf7iWW3PEQXqUTFGPJvlmQ8lny3MIUg " \
1111 -H " Content-Type: application/json" \
1212 -H " Accept: application/json" \
13+ --data-urlencode ' disassociate_resources=true' \
1314 --max-time 60
1415
1516echo " GPU Server stopped successfully."
You can’t perform that action at this time.
0 commit comments