Updated pihole_cloudflared_setup.sh

This commit is contained in:
Steven Seifried 2022-01-16 22:55:36 +01:00
parent 28ee6e1540
commit d44264cd2e
No known key found for this signature in database
GPG key ID: 174371A9356D63E5

View file

@ -42,6 +42,7 @@ msg "Installing cloudflared.."
wget https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb &>/dev/null
sudo apt-get install ./cloudflared-linux-amd64.deb &>/dev/null
sudo useradd -s /usr/sbin/nologin -r -M cloudflared &>/dev/null
rm cloudflared-linux-amd64.deb
CLOUDFLARED_CONF="/etc/default/cloudflared"
cat << EOF > $CLOUDFLARED_CONF