add restart-discussd.sh
This commit is contained in:
parent
de3b2caa3a
commit
0810826063
1 changed files with 5 additions and 0 deletions
5
restart-discussd.sh
Executable file
5
restart-discussd.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/zsh
|
||||
|
||||
ps ax | grep 'node discussd' | grep -v grep | cut -f1 -d' ' | xargs kill
|
||||
cd ~/discussd
|
||||
node discussd.js -h 0.0.0.0 -p 8000 >|discussd.log 2>>|discussd.log &!
|
||||
Loading…
Reference in a new issue