Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

How to set up lemurs for OpenRC? #188

Open
Nefasque opened this issue Dec 3, 2023 · 6 comments · May be fixed by #217
Open

How to set up lemurs for OpenRC? #188

Nefasque opened this issue Dec 3, 2023 · 6 comments · May be fixed by #217
Labels
help wanted Extra attention is needed

Comments

@Nefasque
Copy link

Nefasque commented Dec 3, 2023

i'm sorry. but can't get init it. i don't use systemd in so place i use openrc, can't get init it. T_T.
w3m es asombroso, envio esto desde TTY

@Nefasque
Copy link
Author

Nefasque commented Dec 3, 2023

the main quiestion is how installed in other init..

@coastalwhite
Copy link
Owner

Hi.

I am not very familiar with OpenRC. I imagine the setup procedure would be similar to setting up Ly for OpenRC. Could you take a look at something like this video and replace ly with lemurs please let me know whether that works?

@coastalwhite coastalwhite changed the title como se inicia sim systemD ?? How to set up lemurs for OpenRC? Dec 4, 2023
@perfectime94
Copy link

You can use the ebuild from guru, he already made openrc service for lemurs

After emerge you can just rc-update add lemurs

@coastalwhite coastalwhite added the help wanted Extra attention is needed label Apr 10, 2024
@kkkaamis
Copy link

How would you go about getting lemurs to work on devuan? Not very knowledgable in init systems and find it looks nicer than ly. Thanks

@raininja
Copy link

raininja commented Oct 4, 2024

Same question for s6/66, I can't seem to figure how to start it, I wonder if I should emulate the openrc approach of starting a tty?

@labre
Copy link

labre commented Dec 11, 2024

Late to the party. I’ve prepared init scripts for OpenRC, sysvinit and s6.

You can use the ebuild from guru, he already made openrc service for lemurs

After emerge you can just rc-update add lemurs

The OpenRC script is based on the one in Guru, but follows closer to OpenRC docs to use the default start and stop functions. It uses supervise-daemon to automatically restart lemurs on crashes or kills. This helps to remedy #187, since lemurs needs to be restarted after logout, at least on non-systemd init systems.

How would you go about getting lemurs to work on devuan? Not very knowledgable in init systems and find it looks nicer than ly. Thanks

That depends on what init system you use on Devuan. The sysv script is just a (tested) shell script, that does not use any specific commands or init functions. It works, but maybe you should use logging functions specific for your init system. Obviously you can also just use the OpenRC script, if you use it. The dependencies might be specific to Gentoo however.

Same question for s6/66, I can't seem to figure how to start it, I wonder if I should emulate the openrc approach of starting a tty?

Yes you should do that and can use openvt for that. I could not find any upstream documentation on 66, so I wrote s6 scripts, that theoretically could work. They are untested. This will probably not help you, but I could not find any overlay with 66, so I can’t test this for you anyway. Maybe the sysv/OpenRC scripts help you to figure it out.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants