Created
January 31, 2016 00:56
-
-
Save e-oz/f9db817d7ff30453b1b5 to your computer and use it in GitHub Desktop.
Rust code deployment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cargo build --release | |
sudo killall my_server $RESULT &> /dev/null || true | |
nohup target/release/my_server > nohup.out 2>&1 & | |
exit; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment