[go: up one dir, main page]

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

[Request] devuan + mx-linux version (non systemd support) #29

Closed
OrionRandD opened this issue Jan 9, 2020 · 17 comments
Closed

[Request] devuan + mx-linux version (non systemd support) #29

OrionRandD opened this issue Jan 9, 2020 · 17 comments

Comments

@OrionRandD
Copy link

No description provided.

@OrionRandD
Copy link
Author

Could you make a version of this tool for devuan and mx-linux?
Perhaps you can contact devs for those distros. So that, they can fork you for it to be available on their distros.
I am sure they will be interested in this wonderful tool.

@AdnanHodzic
Copy link
Owner

You mean as a package or? Since both are Debian derivatives, this tool should work fine on both distros as is.

Similar suggestion was raised on Reddit, and what I'm planning to do is create a snap for this tool in next major release.

@OrionRandD
Copy link
Author

@AdnanHodzic What I mean is that Devuan and Mx-linux do not use systemd. So it won't work there. You can have a look on Devuan and Mx init system explanations

@AdnanHodzic
Copy link
Owner

Ah right, okay I'll add ToDo item to implement ability for auto-cpufreq to also work without systemd.

@OrionRandD
Copy link
Author

Thx.

@AdnanHodzic AdnanHodzic changed the title devuan + mx-linux version [Request] devuan + mx-linux version Jan 24, 2021
@AdnanHodzic
Copy link
Owner

Until this request is implemented, I would advise you to install auto-cpufreq from a snap package.

@AdnanHodzic AdnanHodzic changed the title [Request] devuan + mx-linux version [Request] devuan + mx-linux version (non systemd support) Jun 1, 2021
@AdnanHodzic
Copy link
Owner

Until this request is implemented, I would advise you to install auto-cpufreq from a snap package.

Are there any updates on this issue?

@parnote
Copy link
parnote commented Dec 12, 2021

@AdnanHodzic What I mean is that Devuan and Mx-linux do not use systemd. So it won't work there. You can have a look on Devuan and Mx init system explanations

PCLinuxOS is also another distro that is free from systemd. There has been interest there in auto-cpufreq.

PLEASE, can there possibly be a systemd free version of auto-cpufreq?

@AdnanHodzic
Copy link
Owner
AdnanHodzic commented Dec 16, 2021

I do not have time to implement this feature, especially since I also don't use any of the mentioned distros.

But if any of you wants to implement this feature and contribute to the project, please do so! As I'd love to have improved non systemd support as part of auto-cpufreq.

@parnote
Copy link
parnote commented Dec 16, 2021

Thank you for your reply. I'd love to help if I had the knowledge or skills to do so ... but I don't.

@leath-dub
Copy link

would runinning auto-cpufreq --live & work for non systemd distros?

@gimbling-away
Copy link
Contributor

Someone made a runit service for auto-cpufreq which might be helpful → https://github.com/plinki/auto-cpufreq-runit

@AdnanHodzic
Copy link
Owner

Someone made a runit service for auto-cpufreq which might be helpful → https://github.com/plinki/auto-cpufreq-runit

I would absolutely love it if these changes could merged with auto-cpufreq master branch.

@exkc
Copy link
exkc commented Jul 11, 2023

hi i am running auto-cpufreq daemon mode without systemd. It seem to work fine (except for auto-cpufreq --install failed to install the daemon service for me. It was nothingburger for me . I can do it manually. ) . (btw I dont expect it will work properly bc i am using it on arm.).

You mean as a package or? Since both are Debian derivatives, this tool should work fine on both distros as is.

Similar suggestion was raised on Reddit, and what I'm planning to do is create a snap for this tool in next major release.

Also snapd require systemd,@AdnanHodzic.

@peterc-s
Copy link

any news on this? tried installing on artix recently with runit and the installer looks like it's trying to do the right things but not succeeding:

--------------------- Deploying auto-cpufreq as a daemon ----------------------

* Turn off bluetooth on boot [skipping] (package providing bluetooth access is not present)

* Deploy auto-cpufreq install script

* Deploy auto-cpufreq remove script

------------------ Running auto-cpufreq daemon install script ------------------

* Deploy auto-cpufreq runit unit file
mkdir: cannot create directory ‘/etc/runit/sv/auto-cpufreq’: File exists
cp: cannot stat '/usr/local/share/auto-cpufreq/scripts/auto-cpufreq-runit': No such file or directory
chmod: cannot access '/etc/runit/sv/auto-cpufreq/run': No such file or directory

* Creating symbolic link (/run/runit/service/auto-cpufreq -> /etc/runit/sv/auto-cpufreq)
ln: failed to create symbolic link '/run/runit/service/auto-cpufreq': File exists

* Stopping auto-cpufreq daemon (runit) service
ok: down: auto-cpufreq: 1s, normally up, want up

* Starting auto-cpufreq daemon (runit) service
timeout: down: auto-cpufreq: 8s, normally up

----------------- auto-cpufreq daemon installed and running -----------------

To view live stats, run:
auto-cpufreq --stats

To disable and remove auto-cpufreq daemon, run:
sudo auto-cpufreq --remove

-------------------------------------------------------------------------------

I reckon this is an Artix thing as Artix puts runit services in a different place (not /etc/runit/service, but /run/runit/service).

@AdnanHodzic
Copy link
Owner

Artix issue has been fixed as of recently (again) as part of #706

@AdnanHodzic
Copy link
Owner

Support for Devuan is also supported, closing this issue.

Please feel free to re-open if issue persists.

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

No branches or pull requests

7 participants