So I have the latest version of the cloudflared installed on my machine (running Ubuntu 18.04 LTS). I have configured two tunnels to run. Both of which I have had no problem running using “cloudflared tunnel run <insert_service_name>”.
I’m now working on having each tunnel run as part of a cloudflared service using adapted code I found here Run multiple instances of the same systemd unit • Steven Rombauts.
The problem I’m running into, is when I start the cloudflared service, it immediately fails. When I check the systemctl status for it it just tells me it failed with Code 1. When I check the logs it just says that it started the tunnel, and not much else. Finally when I check syslog is tells me that it can’t find the credentials file for that tunnel “that it doesn’t exist or is not a file”. Which explains why the tunnel is failing.
I have seen in other posts where the credentials file was missing from /etc/cloudflared/. I currently have them symlinked over from ~/.cloudflared. But I’m confused. Why it is telling me it can’t find the file when it is clearly there?
Thanks in advance,