Skip to content

Commit 94837c9

Browse files
committed
docs: add note about CAP_NET_BIND_SERVICE to readme
1 parent f2401db commit 94837c9

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,13 @@ access the website from a remote computer and do not want to deal with the brows
9595
you about the self-signed certificate. You just need to specify the domain name you wish
9696
to use, and make sure port 80 is open in your in your firewall. LetsEncrypt requires this
9797
to verify that you own the domain name. Shushtar will listen on port 80 to handle the
98-
verification requests. On some linux-based platforms, you may need to run Shushtar with
99-
superuser privileges since port 80 is a system port.
98+
verification requests.
99+
100+
On some linux-based platforms, you may need to run Shushtar with superuser privileges
101+
since port 80 is a system port. You can permit the
102+
[`CAP_NET_BIND_SERVICE`](https://www.man7.org/linux/man-pages/man7/capabilities.7.html)
103+
capability using `setcap 'CAP_NET_BIND_SERVICE=+eip' /path/to/shushtar` to allow binding
104+
on port 80 without needing to run the daemon as root.
100105

101106
> Note: Shushtar only serves content over **HTTPS**. If you do not use `letsencrypt`,
102107
> Shushtar will use the self-signed certificate that is auto-generated by `lnd` to encrypt

0 commit comments

Comments
 (0)