summaryrefslogtreecommitdiff
path: root/other/bootstrap_daemon/README.md
diff options
context:
space:
mode:
authorLittleVulpix <rinnkazul@gmail.com>2016-07-10 22:56:00 +0200
committerGitHub <noreply@github.com>2016-07-10 22:56:00 +0200
commit98446e0818f3954cba42fdc5f8560a823d455ee4 (patch)
tree91b260add6d44d35840441cab57a8e625ee6028e /other/bootstrap_daemon/README.md
parent532629d486e3361c7d8d95b38293cc7d61dc4ee5 (diff)
Documentation: SysVInit workaround for <1024 ports
Update the manual to provide a command necessary to open <1024 ports for users on SysVinit
Diffstat (limited to 'other/bootstrap_daemon/README.md')
-rw-r--r--other/bootstrap_daemon/README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/other/bootstrap_daemon/README.md b/other/bootstrap_daemon/README.md
index 93e390ef..df7e72be 100644
--- a/other/bootstrap_daemon/README.md
+++ b/other/bootstrap_daemon/README.md
@@ -142,6 +142,12 @@ Go over everything in the copied `tox-bootstrapd.conf` file. Set options you wan
142 142
143Look at the variable declarations in the beginning of `tox-bootstrapd.sh` init script to see if you need to change anything for it to work on your system. The default values must be fine for most users and we assume that you use those next. 143Look at the variable declarations in the beginning of `tox-bootstrapd.sh` init script to see if you need to change anything for it to work on your system. The default values must be fine for most users and we assume that you use those next.
144 144
145If you have configured the daemon to use any port numbers that are lower than 1024, you need to execute the command below, as by default non-privileged users cannot open ports <1024. The change persists through reboot:
146
147```sh
148sudo setcap CAP_NET_BIND_SERVICE=+eip /usr/local/bin/tox-bootstrapd
149```
150
145Copy `tox-bootstrapd.sh` init script to `/etc/init.d/tox-bootstrapd` (note the disappearance of ".sh" ending): 151Copy `tox-bootstrapd.sh` init script to `/etc/init.d/tox-bootstrapd` (note the disappearance of ".sh" ending):
146```sh 152```sh
147sudo cp tox-bootstrapd.sh /etc/init.d/tox-bootstrapd 153sudo cp tox-bootstrapd.sh /etc/init.d/tox-bootstrapd