Hello,
Marius Bakke <[email protected]> skribis:
>>> What about: ‘herd status | grep logind’?
>>
>> No output
>>
>> sdb@komputilo ~$ sudo herd status |grep logind
>>
>>> Does /run/user exist?
>>
>> No
>
> If you add (elogind-service) to your system configuration, Shepherd
> should work out of the box.
Indeed. The Shepherd implicitly depends on elogind/systemd here.
I suppose we should at least clarify this in the manual. Thoughts?
> Alternatively, I do this on a minimal system:
>
> # Shepherd requires that this variable is set unless logind is present.
> export XDG_RUNTIME_DIR="${HOME}/.local/run"
>
> # ...and does not clean up its own socket after use.
> rm -f "$XDG_RUNTIME_DIR/shepherd/socket"
>
> # Now we can start it.
> shepherd &
Neat.
Thanks,
Ludo’.