diff --git a/red/justfile b/red/justfile index 6b09d6f..f6084e5 100644 --- a/red/justfile +++ b/red/justfile @@ -4,9 +4,9 @@ build: cross build --target=armv7-unknown-linux-gnueabihf run: - ssh {{url}} "killall red-cross" || echo "Failed to kill process. Maybe it's not running" - scp -r ./target/armv7-unknown-linux-gnueabihf/debug/red {{url}}:red-cross - ssh {{url}} "RUST_BACKTRACE=1 ./red-cross" + ssh {{url}} "killall red" || echo "Failed to kill process. Maybe it's not running" + rsync -vu ./target/armv7-unknown-linux-gnueabihf/debug/red {{url}}: + ssh {{url}} "RUST_BACKTRACE=1 ./red" rdown: ssh {{url}} "sudo /usr/sbin/poweroff"