OpenRC / openrc

The OpenRC init system
BSD 2-Clause "Simplified" License
1.47k stars 247 forks source link

openrc service files for archlinux #337

Open LW-archlinux opened 4 years ago

LW-archlinux commented 4 years ago

I'm co-maintainer of archlinux AUR openrc package[1] In Q3 2018 I had hw troubles and stopped using openrc. My new rig is working great, but doesn't have openrc init yet.

The main problem I face is servicefiles. Previously I used openrc-arch-services[2], but that doesn't appear to be maintained.

I'd prefer to use upstream service and have found gentoo udev scripts for openrc[3] , but have trouble finding other servicefiles.

Is there a list of locations where openrc servicefiles can be found ? Would it be easier to translate distro-provided systemd servicefiles to openrc ?

Lone_Wolf

[1] https://aur.archlinux.org/packages/openrc/ [2] https://github.com/andrewgregory/openrc-arch-services [3] https://packages.gentoo.org/packages/sys-fs/udev-init-scripts

udeved commented 4 years ago

You could just use our packages.

https://gitea.artixlinux.org/artixlinux/packages-openrc

Most of the services are grabbed from gentoo.

LW-archlinux commented 4 years ago

I won't be able to use them directly for 2 reasons :

Atm i'm leaning towards one or more split packages with SYSCONFDIR defined in the body.

The artix packages look well-written, I also like the pacman hooks you added and they'll definitely be helpful. Do you allow direct linking for download ?

udeved commented 4 years ago

If you ask me, there is no point trying to put all non systemd stuff in the AUR. Its gotten way too many packages, and running with systemd still installed does no good at all.

Artix works more or less just like arch systemd, including all the hooks and stuff. You could also put a wrapper in the AUR that enables artix repos on arch, however, this would be sort of tricky. Anyway, sure, you can link to our repos, or clone them, each package has its own git repo, like the AUR.