Skip to content

📝 Cannot run cloudflared as service on Linux #871

Open
@lukos

Description

@lukos

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: NormalMinor issue impacting one or more usersType: DocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions