I wrote a perl script (http://github.com/goose121/initify) to convert (simple) systemd units to OpenRC initscripts, which will hopefully make it easier to port things to OpenRC. Feedback is appreciated.
[Mod edit]
There's a more complete online solution that converts systemd units to OpenRC scripts:
http://openrc.run/
Thanks, I am sure it will be useful at some point. I haven't run into a case where gentoo didn't have the init script I need so far, but if I ever do I will give this a try.
So would this be a script to convert straight Arch with OpenRC?
Or is it more generic for any linux on systemd?
This script were used to convert any systemd units ( services) into openrc compatible init script, NOT converting a distro
Good job, I've created a minor PR (https://github.com/goose121/initify/compare/master...archnous:patch-1) on that for auto-guessing some sane defaults.
Thanks! I've pulled it in
Thanks for this case. I also have the same solution!
Please, don't necrobump old threads. There's a much better solution around: http://openrc.run/