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

Commit 834d61e

Browse files
Update README.md
1 parent 893ffca commit 834d61e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@ $> cs-gh-proxy -e wsgi -p 8881 --authType allGitHubUsers --owner comsysto --repo
122122
* first [install daemonize](http://software.clapper.org/daemonize/)
123123
* now create script `/opt/run-gh-proxy.sh`
124124
* put run command (see above) in script
125-
* run as daemon with `/usr/local/sbin/daemonize /opt/run-gh-proxy.sh`
125+
* run as daemon with `/usr/local/sbin/daemonize -p /var/run/cs-gh-proxy.pid -l /var/run/cs-gh-proxy.lock /opt/run-gh-proxy.sh`
126+
* Now you can write some scripts to check for pidfile or port
127+
* lockfile ensures that there will only be a single instance
126128

127129
# 3. Roadmap
128130

0 commit comments

Comments
 (0)