Re: One-shot Shepherd services

2019-05-03 Thread Chris Marusich
Ludovic Courtès writes: > However, since the Shepherd 0.6.0 UI doesn’t allow users to distinguish > between one-shot and normal services, it’s probably a good idea to not > do this yet. Otherwise “herd status” would list loads of stopped > services, which could be confusing. > > I think we shoul

Re: One-shot Shepherd services

2019-05-03 Thread Thompson, David
On Thu, Apr 18, 2019 at 5:38 PM Ludovic Courtès wrote: > > Hello Guix! > > Today I added support for “one-shot” services in the Shepherd: > > > https://git.savannah.gnu.org/cgit/shepherd.git/commit/?id=c121eedfff7a50feddcf08e173d2b0dd807e8804 > > One-shot services start, perform a short action,

Re: One-shot Shepherd services

2019-05-03 Thread Ludovic Courtès
Hi Gábor, Gábor Boskovits skribis: > Ludovic Courtès ezt írta (időpont: 2019. ápr. 30., K, 16:24): > >> Chris Marusich skribis: >> >> > At first I was a little confused about why we would ever want to use a >> > one-shot shepherd service instead of an activation snippet, but after >> > reviewi

Re: One-shot Shepherd services

2019-04-30 Thread Gábor Boskovits
Hello, Ludovic Courtès ezt írta (időpont: 2019. ápr. 30., K, 16:24): > Chris Marusich skribis: > > > At first I was a little confused about why we would ever want to use a > > one-shot shepherd service instead of an activation snippet, but after > > reviewing the account-shepherd-service, I thi

Re: One-shot Shepherd services

2019-04-30 Thread Ludovic Courtès
Chris Marusich skribis: > At first I was a little confused about why we would ever want to use a > one-shot shepherd service instead of an activation snippet, but after > reviewing the account-shepherd-service, I think I understand. It seems > that we make it a one-shot shepherd service instead

Re: One-shot Shepherd services

2019-04-29 Thread Chris Marusich
Ludovic Courtès writes: > Today I added support for “one-shot” services in the Shepherd: > > > https://git.savannah.gnu.org/cgit/shepherd.git/commit/?id=c121eedfff7a50feddcf08e173d2b0dd807e8804 > > One-shot services start, perform a short action, and are immediately > marked as “stopped.” (sy

Re: One-shot Shepherd services

2019-04-19 Thread Ludovic Courtès
zna...@disroot.org skribis: > Is there possibility to define dependencies? F.e. networking will depend on > my on-eshot service? Yes, this remains unchanged. > Also what is service 'networking' really is, and can I use wpa-supplicant + > dhcp-client without meta-service networking? On Guix Sy

Re: One-shot Shepherd services

2019-04-18 Thread Pierre Neidhardt
Fantastic! This was one of the missing features for user services (e.g. a "sync-my-data" service that users would invoke manually). -- Pierre Neidhardt https://ambrevar.xyz/ signature.asc Description: PGP signature

Re: One-shot Shepherd services

2019-04-18 Thread znavko
Is there possibility to define dependencies? F.e. networking will depend on my on-eshot service? Also what is service 'networking' really is, and can I use wpa-supplicant + dhcp-client without meta-service networking? April 18, 2019 9:39 PM, "Ludovic Courtès" wrote: > Hello Guix! > > Today I