Skip to content

Incorrect parameter for config in systemd unit #110

Open
@ralienpp

Description

@ralienpp

I just installed 2.7.6 from the cloudsmith repositories using the documentation instructions; my OS is Linux Mint 21.3.

Caddy fails with the following error: Error: reading config file: open onfig: no such file or directory

After digging around I understood that the root cause of the problem is in how the systemd unit file was written, it has: ExecStart=/usr/local/bin/caddy run -config /etc/caddy/Caddyfile (instead of --config, note the 2 dashes).

Having examined this repository, I see that the file says --config (i.e. it is correct), so I am not sure why I ended up with such a file. Maybe I looked in the wrong repository; in any case - I hope that this might ring some bells to whoever builds the DEBs, so this can be fixed in the right place.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs infoRequires more information

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions