Re: Shepherd user services that run on startup?

2024-01-01 Thread Ben Weinstein-Raun
On 12/20/23 16:42, Ben Weinstein-Raun wrote: > My guess is that this is at least possible, by defining a system-level > service that starts a shepherd for each user. Would that work? After struggling with this for a week, I've managed to get a user-level `shepherd` starting! It fails to actually

Re: Shepherd user services that run on startup?

2023-12-30 Thread Hipólita Yarona
On Thu, Dec 28, 2023 at 8:43 PM Csepp wrote: > Ben Weinstein-Raun writes: > > > Hello! I'm fairly new to using Guix System, and I have a lot of > > questions. So am I, so do I. > > One is: Is it possible to run a shepherd user service at system > > start, rather than at login? > > > > My guess

Re: Shepherd user services that run on startup?

2023-12-28 Thread Csepp
Ben Weinstein-Raun writes: > Hello! I'm fairly new to using Guix System, and I have a lot of questions. > > One is: Is it possible to run a shepherd user service at system start, > rather than at login? > > My guess is that this is at least possible, by defining a system-level > service that

Shepherd user services that run on startup?

2023-12-20 Thread Ben Weinstein-Raun
Hello! I'm fairly new to using Guix System, and I have a lot of questions. One is: Is it possible to run a shepherd user service at system start, rather than at login? My guess is that this is at least possible, by defining a system-level service that starts a shepherd for each user. Would that

Re: Shepherd User Services

2020-09-24 Thread Joshua Branson
Thanks Miguel! That solved my issue. My ~/.bash_profile now looks like: #+BEGIN_SRC sh # Honor per-interactive-shell startup file if [ -f ~/.bashrc ]; then . ~/.bashrc; fi # shepherd if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then export MOZ_ENABLE_WAYLAND=1 export GUIX_PACKAG

Re: Shepherd User Services

2020-09-24 Thread Joshua Branson
The last time I tried setting up user services, I ran into the same error. I am using sway. And I think that I am using elogind...but I'm certain how to check that. I am starting sway via ~/.bash_profile with exec dbus-run-session sway Does this prove that I am currently using elogind?

Re: Shepherd User Services

2020-09-21 Thread Tobias Geerinckx-Rice
Hi again, On 2020-09-21 3:59, Buttery Pancake via wrote: Yes, I started shepherd using `shepherd &` before herd invocation. But that did not create the `/run/user/1000`. The system's (e)logind creates /run/user/nnn, not the user Shep. Are you running Guix System? If so, are you using elogind

Re: Shepherd User Services

2020-09-21 Thread Buttery Pancake via
Yes, I started shepherd using `shepherd &` before herd invocation. But that did not create the `/run/user/1000`.

Re: Shepherd User Services

2020-09-20 Thread Miguel
Hello, El 21 sept. 2020 2:21, Buttery Pancake via escribió: > > I was trying to setup user services using GNU Shepherd, as illustrated in > this blog post > (https://guix.gnu.org/en/blog/2020/gnu-shepherd-user-services/). So you have followed these steps, am I right? The daemon s

Shepherd User Services

2020-09-20 Thread Buttery Pancake via
I was trying to setup user services using GNU Shepherd, as illustrated in this blog post (https://guix.gnu.org/en/blog/2020/gnu-shepherd-user-services/). But I get an error related to `/run/user/1000`, that it either couldn't connect to or doesn't exist. What should I do?