Created
July 20, 2017 16:00
-
-
Save dario61081/42be32394156012d979ef55bed65b11a to your computer and use it in GitHub Desktop.
Matar un servicio utilizado en un puerto definido y reiniciar como servicio la aplicación en segundo plano.
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
#!/bin/bash | |
fuser -k 9090/tcp | |
nohup java -jar warehousetracker-1.0-SNAPSHOT.jar > logs.log 2>&1 & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment