On Mon, Nov 04, 2024 at 11:34:50PM +0100, Ludovic Courtès wrote: > Hello, > > Efraim Flashner skribis: > > > 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! > > An interesting blend of technologies from the 70’s. :-) > > >> 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. > > Shepherd 1.0-to-be (current ‘devel’ branch) gained a generic ‘timer’ > service that does the job the ‘at’ command would do back in the day > (before the advent of CD-ROM and the information superhighway): > > herd schedule timer at 07:00 -- mpg123 alarm.mp3 > > We’re talking about something quite similar, just not delayed, right? systemd-run has a --timer flag, and I could see adding a flag for shepherd-run after shepherd 1.0. To me the big thing systemd-run brought was being able to launch programs from the shell and have it show up in `systemctl --user services`, and I'd like to be able to get commands I run from the CLI to show up in `herd status` the same way. systemd has some more magic I wanted to steal, like being able to launch GUI applications from systemd-run. shepherd-run basically parses the flags and commands and then writes out a service to a temporary file and loads it with 'herd load root ...' -- Efraim Flashner אפרים פלשנר GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted