cloudflared icon indicating copy to clipboard operation
cloudflared copied to clipboard

📝 Cannot run cloudflared as service on Linux

Open lukos opened this issue 3 years ago • 0 comments

Available Documentation A link to the documentation that is available today and the areas which could be improved.

Suggested Documentation One of the sections says that at a minimum you must provide tunnel and credentials-file but when I provide them, I get an error like Incorrect Usage: flag provided but not defined: -credentials-file when when I use cloudflared service install --help it just says to use cloudflared service install [command options] [arguments...] with no examples so it is no help at all.

Additional context I have already run the tunnel locally from the command line and the files are therefore installed under user directory (ubuntu) whereas the service needs to be installed as root so it won't find the correct config by default and needs to be told about it.

I am really confused what I need to do.

lukos avatar Jan 13 '23 15:01 lukos