On Wed, 27 Nov 2019 12:18:55 -0600 goli...@devuan.org 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 _______________________________________________ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng