On Sun, Nov 03, 2024 at 04:57:09PM +0100, Denis 'GNUtoo' Carikli wrote: > Hi, > > On Sun, 3 Nov 2024 15:19:04 +0200 > Efraim Flashner wrote: > > > Announcing the initial release of shepherd-run! > > > > Do you have experience with systemd and systemd-run? Do you wish you > > were able to quickly and easily add a simple service to your (user or > > system) shepherd instance? > > > > Using the finest technologies from the 70's, written in gawk, I > > present shepherd-run! > Is there any plans to integrate that with Guix and Shepherd later on? If it proves to be useful I could see re-writing it in guile so it can be part of shepherd directly. > I'm thinking of uses cases like netctl which is an utility from Arch > Linux that is present in Parabola. Users define network profiles and > netctl somehow interact with systemd to setup the network. > > Here for instance Guix system services or Guix home services are not > dynamic, and especially for the network it could make sense to have > different profiles. > > As I understand netctl generates systemd unit files, so there is > also some similarities between netctl and shepherd-run. > > Denis. Looking at some of the manpages for systemd I saw they have options for on-joining or leaving certain networks and other triggers. I don't believe shepherd currently has the ability to detect that directly currently, but I suppose it would be possible to imitate that functionality. -- Efraim Flashner אפרים פלשנר GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted