Skip to main content
Topic: A basic conversion script from systemd units to OpenRC initscripts (Read 15864 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic. Redirected from MOVED: A basic conversion script from systemd to OpenRC

A basic conversion script from systemd units to OpenRC initscripts

I wrote a perl script 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/

Re: A basic conversion script from systemd to OpenRC

Reply #1
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.
Chris Cromer

Re: A basic conversion script from systemd to OpenRC

Reply #2
So would this be a script to convert straight Arch with OpenRC?
Or is it more generic for any linux on systemd?

Re: A basic conversion script from systemd to OpenRC

Reply #3
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
If I can hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate!



Re: A basic conversion script from systemd units to OpenRC initscripts

Reply #6
Thanks for this case. I also have the same solution!