How do I set a display manager on an OpenRC system? I'm trying to use the Ly display manager.
E.g. on a systemd distro I'd do
$ sudo systemctl enable ly.service
but how do I do it here?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
Generally speaking, with OpenRC you add a service starting on boot with:
rc-update add $service default, where $service is a init file coded for OpenRC.
Is located in /etc/init.d/$service and is invoked by
#!/sbin/openrc-run, that is the directive at the beginning of the service file.
Here you can figure how to write a openrc init script by yourself.