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

A basic conversion script from systemd to OpenRC

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.

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 #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 to OpenRC

Reply #4
Good job, I've created a minor PR on that for auto-guessing some sane defaults.