diff --git a/.gitignore b/.gitignore index e044e82..639956b 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ # Work dir and files *.log .idea +dist tmp # Binaries for programs and plugins diff --git a/start.sh b/start.sh new file mode 100644 index 0000000..8df503c --- /dev/null +++ b/start.sh @@ -0,0 +1,3 @@ +#/bin/bash + +nohup molly > app.log 2>&1 & \ No newline at end of file diff --git a/stop.sh b/stop.sh new file mode 100644 index 0000000..fae08dd --- /dev/null +++ b/stop.sh @@ -0,0 +1,3 @@ +#/bin/bash + +kill `ps aux | grep 'molly' | awk '{print $2}' | head -n 1` \ No newline at end of file