Skip to content

Systemd user daemon does not look for binaries in user directories, resulting in service start failing when using Makefile install #277

@nixigaj

Description

@nixigaj
systemd-path search-binaries-default
/usr/local/bin:/usr/bin

From what I understand, this is compiled directly into systemd and can not be configured even at system level. I use Fedora 44, so the hard-coded paths could theoretically be different between different Linux distributions.

To fix this I modified

ExecStart=passless

to

ExecStart=%h/.cargo/bin/passless

but this would obviously break the AUR that installs the binary to /usr/bin/passless.

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