<div dir="ltr"><div dir="ltr">Hi !<div><br></div><div>I'm working on similar idea, but for runit [1]. Mine it's a shell script</div><div>that uses sed, grep awk to parse unit files, I've already been told that</div><div>it would be better to use a python engine instead, but I don't have time</div><div>to learn a new tool right now.</div><div>So if you keep separeted the code that parse and extract all the info that are </div><div>needed for a service and the part that write to a sysv template, I think </div><div>I will use your parsing tool instead of my already-messy-bash-parsing-engine, </div><div>and only keep the part of my code that writes to a runit template.</div><div>Other inits like s6 may use your parsing tool as well.</div><div><br></div><div>But I'm curious, systemd unit usually start a process in foreground, while</div><div>Sysv wants to background a process: how are you dealing with this?</div><div><br></div><div>[1] <a href="https://salsa.debian.org/Lorenzo.ru.g-guest/runit-tools/tree/next-0.3">https://salsa.debian.org/Lorenzo.ru.g-guest/runit-tools/tree/next-0.3</a></div><div><br></div><div>Lorenzo</div></div><div><br></div><div class="gmail_quote"><div> </div></div></div>