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?
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.