Re: systemd2init PoC

2014-02-14 Thread Gergely Nagy
Thomas Goirand writes: > What about exploring Ian Jackson's idea, which was to hack a debhelper > that would generate things for multiple init systems? Can I file RC bugs when that breaks horribly? (Because it will.) I would suggest not going down that route, it only leads to pain and suffering

Re: systemd2init PoC

2014-02-14 Thread Bernd Zeimetz
On 02/14/2014 01:33 PM, John Paul Adrian Glaubitz wrote: > On 02/14/2014 12:01 PM, Ondřej Surý wrote: >> I have hacked together a PoC systemd2init shell script on top of >> augeas-tools (you need at least jessie version) to autogenerate sysv-rc >> script out of simple service file. > > Cool! Thank

Re: systemd2init PoC

2014-02-14 Thread Thomas Goirand
On 02/14/2014 07:01 PM, Ondřej Surý wrote: > Hey all, > > I have hacked together a PoC systemd2init shell script on top of > augeas-tools (you need at least jessie version) to autogenerate sysv-rc > script out of simple service file. > > It can handle: > > Environment > EnvironmentFile > ExecSta

Re: systemd2init PoC

2014-02-14 Thread Ondřej Surý
JFTR I have added support for ExecStop, Exec{Start,Stop}{Pre,Post} and X-Debian-Daemonize (to pass extra arguments to the daemon when Type=simple and you want it to daemonize). The shell script is still far from the universal and complete tool, but it really makes me wonder – it was really a GSoC

Re: systemd2init PoC

2014-02-14 Thread Ondřej Surý
Hi Adrian, On Fri, Feb 14, 2014, at 13:33, John Paul Adrian Glaubitz wrote: > On 02/14/2014 12:01 PM, Ondřej Surý wrote: > > I have hacked together a PoC systemd2init shell script on top of > > augeas-tools (you need at least jessie version) to autogenerate sysv-rc > > script out of simple service

Re: systemd2init PoC

2014-02-14 Thread John Paul Adrian Glaubitz
On 02/14/2014 12:01 PM, Ondřej Surý wrote: > I have hacked together a PoC systemd2init shell script on top of > augeas-tools (you need at least jessie version) to autogenerate sysv-rc > script out of simple service file. Cool! Thanks for hacking this together. I'd guess this could be very helpful

systemd2init PoC

2014-02-14 Thread Ondřej Surý
Hey all, I have hacked together a PoC systemd2init shell script on top of augeas-tools (you need at least jessie version) to autogenerate sysv-rc script out of simple service file. It can handle: Environment EnvironmentFile ExecStart ExecReload PidFile Description Right now you need to put the