-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: better handle ports on Pi and allow albyhub to run on port 80 #584
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK
echo "Failed to unpack Alby Hub. Potentially bzip2 is missing" | ||
echo "Install it with sudo apt-get install bzip2" | ||
fi | ||
|
||
# Cleanup | ||
rm server-linux-armv6.tar.bz2 | ||
|
||
# allow albyhub to bind on port 80 | ||
sudo setcap CAP_NET_BIND_SERVICE=+eip /opt/albyhub/bin/albyhub |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be optional? like how we ask to setup a service?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any option makes it more complicated and more fragile. Those install scripts suck anyway because everybody wants it to be a bit different and systems are often different.
People also need to know a little bit of what they do.
IF we don't run as root then as far as I understand we need this. otherwise we need to run as root or on a different port.
a7e7b62
to
ba39cd1
Compare
No description provided.