Last active
March 18, 2020 00:36
-
-
Save Pinwheeler/60dfa9703bae0cf24dae0188e7aaf739 to your computer and use it in GitHub Desktop.
This file contains 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
./gradlew bootJar | |
scp build/libs/myapp.jar username@ip_address: | |
ssh -t username@ip_address 'sudo /bin/systemctl restart myapp' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment