This website works better with JavaScript.
Home
Explore
Help
Sign In
artur
/
wttr.in
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
added screenrc used for service start
pull/228/head
Igor Chubin
8 years ago
parent
3e7396e7dd
commit
0ee1554cbf
2 changed files
with
9 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
share/screenrc
+7
-0
share/scripts/start-screen.sh
+ 2
- 0
share/screenrc
View 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
- 0
share/scripts/start-screen.sh
View File
@ -0,0 +1,7 @@
#!/bin/bash
SESSION_NAME
=
wttr.in
SCREENRC_PATH
=
$(
dirname
$(
dirname
"
$0
"
)
)
/screenrc
screen -dmS
"
$SESSION_NAME
"
-c
"
$SCREENRC_PATH
"
Write
Preview
Loading…
Cancel
Save