added screenrc used for service start

pull/228/head
Igor Chubin 6 years ago
parent 3e7396e7dd
commit 0ee1554cbf

@ -0,0 +1,2 @@
screen -t srv.py bash -c "cd ~/wttr.in; ve/bin/python bin/srv.py; bash -i"
screen -t proxy.py bash -c "cd ~/wttr.in; ve/bin/python bin/proxy.py; bash -i"

@ -0,0 +1,7 @@
#!/bin/bash
SESSION_NAME=wttr.in
SCREENRC_PATH=$(dirname $(dirname "$0"))/screenrc
screen -dmS "$SESSION_NAME" -c "$SCREENRC_PATH"
Loading…
Cancel
Save