Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Running on non-systemd systems #323

Open
paniash opened this issue Jan 31, 2022 · 1 comment
Open

Running on non-systemd systems #323

paniash opened this issue Jan 31, 2022 · 1 comment

Comments

@paniash
Copy link

paniash commented Jan 31, 2022

Feature Request

Hi! I'm currently using runit as the init system on my machine and was wondering if it's possible to run betterlockscreen on suspend. The readme only mentions this for systemd.

Implementation

Create a separate script for runit. I'm on artix linux (which is a derivative of arch linux) and often use packages from the arch repos. For any package requiring a service, a separate runit script exists. For example, tlp needs tlp-runit for it to work on artix linux.

Have you planned working on this feature?

No

@akr2002
Copy link

akr2002 commented Mar 17, 2022

A separate fork exists that works for OpenRC systems. The difference boils down to using loginctl suspend instead of systemctl suspend.
Perhaps a similar alternative exists for runit systems?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants