use pidfiles instead of blindly murdering starmen
This commit is contained in:
parent
912f73d765
commit
2ebeae2878
|
@ -1,4 +1,3 @@
|
|||
#!/usr/bin/env sh
|
||||
pkill -f starman >/dev/null 2>&1
|
||||
pkill -f plack >/dev/null 2>&1
|
||||
BLOGALBA_DIR="/home/sites/blogalba/" plackup -s Starman -D -p 42069 /home/sites/blogalba/blogalba
|
||||
pkill -F /home/sites/blogalba.pid 2>/dev/null
|
||||
BLOGALBA_DIR="/home/sites/blogalba/" plackup -s Starman -D -p 42069 /home/sites/blogalba/blogalba --pid /home/sites/blogalba.pid
|
||||
|
|
Loading…
Reference in New Issue