Skip to content
This repository was archived by the owner on Sep 22, 2020. It is now read-only.

Commit 20a112e

Browse files
howto daemonize python
1 parent c28fb57 commit 20a112e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,11 @@ $> cs-gh-proxy -e wsgi -p 8881 --authType onlyGitHubOrgUsers --owner comsysto --
112112
$> cs-gh-proxy -e wsgi -p 8881 --authType allGitHubUsers --owner comsysto --repository github-pages-basic-auth-proxy --obfuscator 086e41eb6ff7a50ad33ad742dbaa2e70b75740c4950fd5bbbdc71981e6fe88e3
113113
```
114114

115+
* Howto run python server as daemon
116+
* first [install daemonize](http://software.clapper.org/daemonize/)
117+
* now create script `/opt/run-gh-proxy.sh`
118+
* put run command (see above) in script
119+
* run as daemon with `/usr/local/sbin/daemonize /opt/run-gh-proxy.sh`
115120

116121
# License
117122

0 commit comments

Comments
 (0)