[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Starting user services at boot

From: Alex Kost
Subject: Re: Starting user services at boot
Date: Wed, 15 Feb 2017 14:14:07 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

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

> Hi Leo!
> Leo Famulari <address@hidden> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]