This website requires JavaScript.
Explore
Help
Register
Sign In
tyler.durden
/
auto-cpufreq
mirror of
https://github.com/AdnanHodzic/auto-cpufreq.git
Watch
1
Star
0
Fork
You've already forked auto-cpufreq
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
a5ffa5730b
auto-cpufreq
/
scripts
/
auto-cpufreq-runit
4 lines
89 B
Plaintext
Raw
Normal View
History
Unescape
Escape
wrapper: switch sh to bash (Void fix)
2023-10-12 00:16:51 +02:00
#!/bin/bash
fixup(runit): allow daemon to search for the executable in /usr/local/bin (fixes #474) (#508)
2023-05-07 14:20:18 +02:00
export PATH="$PATH:/usr/local/bin"
Implement python virtual environment (#326) * Implement python virtual environment * added venv instead of using system env pip * adjusted the unit file to startup the app from the venv * created a wrapper script to call the app from the venv * extended cleanup for venv and additional scripts * refactored the is_running() function to find the process now that it is called from a venv * remove update_service_file since we changed the binary path to the venv location * fix bug in argument handling; upgrade pip before installing python packages * fix bug in syntax * Renamed auto-cpufreq wrapper * Change permissions to use --stats as user * Changed init scripts to use wrapper Co-authored-by: aroundthfur <velimir@foolcontrol.org>
2021-12-21 20:14:02 +01:00
exec /usr/local/bin/auto-cpufreq --daemon