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

Runit service #242

Open
m4nn4hun opened this issue Dec 24, 2021 · 2 comments
Open

Runit service #242

m4nn4hun opened this issue Dec 24, 2021 · 2 comments
Labels
helpwanted Help wanted from the community

Comments

@m4nn4hun
Copy link

Does anyone know how to make a runit service, specially for Void and Artix?

@gaul gaul added the helpwanted Help wanted from the community label Dec 28, 2021
@skotchpine
Copy link

skotchpine commented Apr 10, 2023

Hey @m4nn4hun, for what it's worth, I've been using an mbpfan service on void runit

FWIW this is in the void repos: https://github.com/void-linux/void-packages/search?q=mbpfan&type=code

Originally, I think I built and ran it myself, but it looks like I switched to the repos at some point. Anyway, here's what you asked for:

Here's the /etc/sv/mbpfan/run:

#!/bin/sh
exec 2>&1
exec /usr/sbin/mbpfan -f -v

Here's the /etc/sv/mbpfan/log/run:

#!/bin/sh
exec svlogd -tt /var/log/mbpfan

@gaul
Copy link
Member

gaul commented Apr 10, 2023

Can we update https://github.com/linux-on-mac/mbpfan#arch-linux or work with its packaging team?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
helpwanted Help wanted from the community
Projects
None yet
Development

No branches or pull requests

3 participants