cloudflare / cloudflare/cloudflared

📝 Cannot run cloudflared as service on Linux

Open
#871 0 comments 1 reaction 0 assignees View on GitHub
Priority: Normal Type: Documentation
Dominant language
Go
Stars
15.6k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

**Available Documentation**
[A link to the documentation that is available today and the areas which could be improved. ](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/tunnel-guide/local/as-a-service/linux/)

**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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.