Skip to content

Setting sheldon config file is not enough #156

Description

@rossmacarthur

Discussed in #155

Originally posted by seqizz October 28, 2022
Hi there 👋

I've upgraded to 0.7.0, and apart from a small change I needed to do in config.toml, sheldon failed to start because of non-existent config dir:

error: failed to acquire lock on config directory
  due to: failed to open `/home/gurkan/.config/sheldon`
  due to: No such file or directory (os error 2)

Just wanted to ask if this is intended, or it's because my setup is manual? Initially it didn't make sense to need a config dir while SHELDON_CONFIG_FILE already given, but for locking need I created the mentioned folder and it works ok now.

This looks like it could benefit a new parameter like "SHELDON_LOCK_FILE" which is mutually exclusive with config dir, for clarity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions