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
94983fd406
commit
1f4e56df45
|
@ -43,8 +43,8 @@ wget https://github.com/cloudflare/cloudflared/releases/latest/download/cloudfla
|
||||||
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
|
||||||
|
|
||||||
$CLOUDFLARED_CONF="/etc/default/cloudflared"
|
CLOUDFLARED_CONF="/etc/default/cloudflared"
|
||||||
$CLOUDFLARED_SERVICE="/etc/systemd/system/cloudflared.service"
|
CLOUDFLARED_SERVICE="/etc/systemd/system/cloudflared.service"
|
||||||
|
|
||||||
cat << EOF > $CLOUDFLARED_CONF
|
cat << EOF > $CLOUDFLARED_CONF
|
||||||
# Commandline args for cloudflared, using Cloudflare DNS
|
# Commandline args for cloudflared, using Cloudflare DNS
|
||||||
|
|
Loading…
Reference in a new issue