new: Added run script

This commit is contained in:
yv1ing
2024-12-19 17:40:20 +08:00
parent 57e890f70e
commit 96086a5d8c
3 changed files with 7 additions and 0 deletions

1
.gitignore vendored
View File

@@ -4,6 +4,7 @@
# Work dir and files # Work dir and files
*.log *.log
.idea .idea
dist
tmp tmp
# Binaries for programs and plugins # Binaries for programs and plugins

3
start.sh Normal file
View File

@@ -0,0 +1,3 @@
#/bin/bash
nohup molly > app.log 2>&1 &

3
stop.sh Normal file
View File

@@ -0,0 +1,3 @@
#/bin/bash
kill `ps aux | grep 'molly' | awk '{print $2}' | head -n 1`