Last active
June 24, 2017 00:27
-
-
Save aarisr/c2f4e30cb1eb068bed2f3652a5da728c to your computer and use it in GitHub Desktop.
install fabio
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
systemctl stop fabio; | |
killall fabio; | |
rm -f `which fabio`; | |
rm -f `which fabio`; | |
wget -O /usr/sbin/fabio "https://github.com/fabiolb/fabio/releases/download/v1.5.0/fabio-1.5.0-go1.8.3-linux_amd64" | |
chmod +x /usr/sbin/fabio; | |
setcap CAP_NET_BIND_SERVICE=+eip /usr/sbin/fabio; | |
systemctl start fabio; | |
systemctl start fabio@http; | |
systemctl start fabio@https; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment