[systemd-devel] OpenRC integration on Gentoo
Jack Byer
ftn768 at gmail.com
Sat Jul 10 12:42:10 PDT 2010
I wrote three service files that make systemd bring up the Gentoo
runlevels. Systemd does much of the work of the openrc "sysinit" and
"boot" runlevels so I most of the services can be deleted from there
and just those items that are not performed by systemd need to be left
in.
openrc-sysinit.service:
[Unit]
Names=openrc-sysinit.service
Description=OpenRC "sysinit" runlevel
[Service]
Type=finish
ValidNoProcess=Yes
ExecStart=/sbin/rc sysinit
ExecStop=/sbin/rc shutdown
openrc-boot.service:
[Unit]
Names=openrc-boot.service
Description=OpenRC "boot" runlevel
After=openrc-sysinit.service
Requires=openrc-sysinit.service
[Service]
Type=finish
ValidNoProcess=Yes
ExecStart=/sbin/rc boot
openrc-default.service:
[Unit]
Names=openrc-default.service
Description=OpenRC "default" runlevel
After=openrc-boot.service
Requires=openrc-boot.service
[Service]
Type=finish
ValidNoProcess=Yes
ExecStart=/sbin/rc default
More information about the systemd-devel
mailing list