Skip to content

Commit 54d331f

Browse files
committed
optimized run scripts
1 parent 3f5bdc5 commit 54d331f

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/bash
2-
nohup node --title=clexi-server.js server.js &> log.out&
2+
nohup node --title=clexi-server server.js &> log.out&

shutdown.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/bash
2-
pkill -f "clexi-server.js"
2+
pkill -f "clexi-server"

status.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/bash
2-
ps -xa | grep [c]lexi-server.js || echo "no process found"
2+
ps -xa | grep "[c]lexi-server" || echo "no process found"

0 commit comments

Comments
 (0)