Something went wrong. Try again.
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031[Unit]# The tunnel, and the ordering here is a safety property rather than a# preference. `Requires=aligned-proxy.service` means this cannot be what is# running if the proxy is not: without it, a tunnel that came up first — or# stayed up after the proxy crashed — would be a public door with nothing# behind it checking who is asking.Description=aligned.click Cloudflare tunnelAfter=network-online.target aligned-proxy.serviceRequires=aligned-proxy.serviceBindsTo=aligned-proxy.serviceWants=network-online.target
[Service]Type=simpleUser=%SERVICE_USER%WorkingDirectory=%REPO%# cloudflared finds its credentials in ~/.cloudflared, from the tunnel name and# cert.pem. Those two files are account credentials and are copied to this# machine by hand — they are not in the repo and must not be.ExecStart=%CLOUDFLARED% tunnel --config %REPO%/server/tunnel.yml runRestart=alwaysRestartSec=5
NoNewPrivileges=yesPrivateTmp=yesProtectSystem=fullRestrictSUIDSGID=yes
[Install]WantedBy=multi-user.target