Re: User-Level services

2019-02-09 Thread John Soo
Hi all, Thanks for the info. I like the way user shepherd services work so far. I haven’t used it much yet but it seems to mostly do the trick. The only thing I want is the declarative configuration. By “declarative” I mean configured in config.scm. Do you think there could be a chance of addin

Re: User-Level services

2019-02-09 Thread nly
>I would love to see something closer to an event triggered service than >forking once and forgetting. You can use shepherd and herd commands (without sudo). For example: $ shepherd [-c config.scm] $ herd status Then configure your `config.scm` as you like. As a default shepherd will use `$XDG_C

Re: User-Level services

2019-02-09 Thread John Soo
Thanks Chris, I wasn’t aware of the autostart spec so I took a look. Thanks! After reading it I’m not sure it provides the retry support (among other things) that a user service might provide. I would love to see something closer to an event triggered service than forking once and forgetting.

Re: User-Level services

2019-02-09 Thread Chris Marusich
John Soo writes: > Hi Reza, > > I’m not sure this is possible right now. I recently tried making a > service which would need the x display variable and I got stuck right > about when I needed the logged in user. I would love to see it though. > > Does anyone else know? I don't think there's an

Re: User-Level services

2019-02-04 Thread John Soo
Hi Reza, I’m not sure this is possible right now. I recently tried making a service which would need the x display variable and I got stuck right about when I needed the logged in user. I would love to see it though. Does anyone else know? Thanks, John > On Feb 3, 2019, at 7:16 AM, Reza Ali

User-Level services

2019-02-03 Thread Reza Alizadeh Majd
Hi everyone, Is it possible to define a shepherd service based on user login sessions in Guix? I want to run an application as a daemon that is responsible for serving its services, separately for each user. Thanks, Reza