Ludovic Courtès (2017-02-13 10:30 +0100) wrote:

> Hi Leo!
>
> Leo Famulari <l...@famulari.name> skribis:
>
>> Does anyone have advice about how to start an unprivileged user's
>> services when the system boots?
>>
>> On other systems, I could at least invoke them in /etc/rc.local, but I'm
>> not sure how to do it on GuixSD.
>
> Currently I run shepherd as myself, which reads from
> ~/.config/shepherd/init.scm.  It gets started from my ~/.xsession.

I do the same but in ~/.bash-profile like this:

# Start shepherd if it is not already running.
[[ -z $(pgrep -U $(id --user) "^shepherd$") ]] \
    && shepherd &>> $HOME/.config/shepherd/shepherd.log

-- 
Alex

Reply via email to