blob: 0a19b6828db95de03a34b4d4d915a8fd1a29a923 [file] [log] [blame] [raw]
function execute_safely {
"$@"
return 0
}
execute_safely ssh -t glowstone@185.116.156.30 "sudo systemctl stop glowstone" -o ConnectTimeout=15
execute_safely ssh -t glowstone@185.116.156.30 "rm -rf glowstone.jar worlds/*" -o ConnectTimeout=15
execute_safely sftp -b .circle/upload glowstone@185.116.156.30 -o ConnectTimeout=15
execute_safely ssh -t glowstone@185.116.156.30 "sudo systemctl start glowstone" -o ConnectTimeout=15