fixed start script and made kill script

This commit is contained in:
troido 2017-10-30 22:28:45 +01:00
parent be22194589
commit a2b93238d2
2 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,3 @@
#!/bin/sh
cd "`dirname "$0"`"
python3 -m asciifarm.server $@ >stdout.log 2>stderr.log &
python3 -um asciifarm.server $@

2
killserver Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
pkill -f asciifarm.server -u troido