mirror of
https://github.com/kidwellj/proxmox-scripts.git
synced 2025-01-10 05:32:21 +00:00
Updated pihole_cloudflared_setup.sh
This commit is contained in:
parent
28ee6e1540
commit
d44264cd2e
|
@ -42,6 +42,7 @@ msg "Installing cloudflared.."
|
||||||
wget https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb &>/dev/null
|
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 apt-get install ./cloudflared-linux-amd64.deb &>/dev/null
|
||||||
sudo useradd -s /usr/sbin/nologin -r -M cloudflared &>/dev/null
|
sudo useradd -s /usr/sbin/nologin -r -M cloudflared &>/dev/null
|
||||||
|
rm cloudflared-linux-amd64.deb
|
||||||
|
|
||||||
CLOUDFLARED_CONF="/etc/default/cloudflared"
|
CLOUDFLARED_CONF="/etc/default/cloudflared"
|
||||||
cat << EOF > $CLOUDFLARED_CONF
|
cat << EOF > $CLOUDFLARED_CONF
|
||||||
|
|
Loading…
Reference in a new issue