From: Efraim Flashner <efraim@flashner.co.il>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>, guix-devel@gnu.org
Subject: Re: Announcing shepherd-run
Date: Tue, 5 Nov 2024 12:59:08 +0200 [thread overview]
Message-ID: <Zyn6fAbfUrghxY7l@3900XT> (raw)
In-Reply-To: <87ed3q39x1.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 2144 bytes --]
On Mon, Nov 04, 2024 at 11:34:50PM +0100, Ludovic Courtès wrote:
> Hello,
>
> Efraim Flashner <efraim@flashner.co.il> 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 <efraim@flashner.co.il> 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 <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2024-11-05 10:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-03 13:19 Announcing shepherd-run Efraim Flashner
2024-11-03 15:57 ` Denis 'GNUtoo' Carikli
2024-11-03 18:18 ` Efraim Flashner
2024-11-04 22:34 ` Ludovic Courtès
2024-11-05 10:59 ` Efraim Flashner [this message]
2024-11-09 22:48 ` Ludovic Courtès
2024-11-19 17:17 ` Runciter via Development of GNU Guix and the GNU System distribution.
2024-11-20 21:24 ` Ludovic Courtès
2024-11-21 18:58 ` Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Zyn6fAbfUrghxY7l@3900XT \
--to=efraim@flashner.co.il \
--cc=GNUtoo@cyberdimension.org \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).