mirror of
https://github.com/chubin/wttr.in
synced 2025-01-11 11:38:45 +00:00
added screenrc used for service start
This commit is contained in:
parent
3e7396e7dd
commit
0ee1554cbf
2 changed files with 9 additions and 0 deletions
2
share/screenrc
Normal file
2
share/screenrc
Normal file
|
@ -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"
|
7
share/scripts/start-screen.sh
Executable file
7
share/scripts/start-screen.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
SESSION_NAME=wttr.in
|
||||
SCREENRC_PATH=$(dirname $(dirname "$0"))/screenrc
|
||||
|
||||
screen -dmS "$SESSION_NAME" -c "$SCREENRC_PATH"
|
||||
|
Loading…
Reference in a new issue