Skip to content

Instantly share code, notes, and snippets.

@sjyun
Created January 23, 2018 22:11
Show Gist options
  • Save sjyun/f8a096b13bcecc011a29d03c36e96fc3 to your computer and use it in GitHub Desktop.
Save sjyun/f8a096b13bcecc011a29d03c36e96fc3 to your computer and use it in GitHub Desktop.
kill process pid
#!/bin/bash
BASE_PATH="/home/jins/deployjar"
kill `cat $BASE_PATH/namu.pid`
rm $BASE_PATH/namu.pid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment