:: [DNG] Conversion script: was Formai…
Página Inicial
Delete this message
Reply to this message
Autor: Steve Litt
Data:  
Para: dng
Tópicos Antigos: Re: [DNG] Formail for managing digests
Assunto: [DNG] Conversion script: was Formail for managing digests
On Wed, 27 Nov 2019 12:18:55 -0600
golinux@??? wrote:

> More fiddling while Rome burns . . . sigh . . .
>
> I'm in a bit of a mood because I thought that a script to convert
> systemd units to init style shell scripts would be worthy of at least
> some discussion.
>
> golinux


I have good news, bad news, and better news.

Good news. The latest script at http://www.trek.eu.org/devel/sysd2v/
appears to make good sysvinit init scripts from a unit file.

Bad news: That script is just for sysvinit, and in my 1/2 hour look at
it I couldn't find an easy way to pick off info necessary to make
facilities for s6, runit or Epoch.

Better news: Systemd Unit Files are a pretty good specification of what
any process supervisor should do with a daemon, so converters for s6,
runit and Epoch should be pretty easy to make. Because declaratory Unit
Files are by necessity a superset of script based systems, some human
intervention will be necessary, but not a whole lot.

Better news: There's an already made collection of runit run scripts,
for the usual suspects, at http://smarden.org/runit/runscripts.html .
I've put out a query for a similar collection of s6 scripts.

SteveT

Steve Litt
November 2019 featured book: Manager's Guide to Technical
Troubleshooting Second edition
http://www.troubleshooters.com/mgr