mirror of
https://github.com/AdnanHodzic/auto-cpufreq.git
synced 2025-07-27 07:34:25 +02:00
parent
3f670da926
commit
566fd4a7bf
4
scripts/snapdaemon.sh
Executable file
4
scripts/snapdaemon.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# workaround for running Daemon without polluting syslog (#53, #82)
|
||||||
|
$SNAP/bin/auto-cpufreq --daemon 2>&1 >> $SNAP_DATA/auto-cpufreq.log
|
@ -1,6 +1,6 @@
|
|||||||
name: auto-cpufreq
|
name: auto-cpufreq
|
||||||
base: core20
|
base: core20
|
||||||
version: '1.2.2'
|
version: '1.2.3'
|
||||||
summary: Automatic CPU speed & power optimizer for Linux
|
summary: Automatic CPU speed & power optimizer for Linux
|
||||||
description: |
|
description: |
|
||||||
Automatic CPU speed & power optimizer for Linux based on active
|
Automatic CPU speed & power optimizer for Linux based on active
|
||||||
@ -24,11 +24,12 @@ parts:
|
|||||||
- lm-sensors
|
- lm-sensors
|
||||||
source: .
|
source: .
|
||||||
|
|
||||||
deploy-cpufrectl:
|
deploy-scripts:
|
||||||
plugin: dump
|
plugin: dump
|
||||||
source: scripts
|
source: scripts
|
||||||
organize:
|
organize:
|
||||||
cpufreqctl.sh: usr/bin/cpufreqctl
|
cpufreqctl.sh: usr/bin/cpufreqctl
|
||||||
|
snapdaemon.sh: usr/bin/snapdaemon
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
auto-cpufreq:
|
auto-cpufreq:
|
||||||
@ -43,7 +44,7 @@ apps:
|
|||||||
PKG_MARKER: SNAP
|
PKG_MARKER: SNAP
|
||||||
|
|
||||||
service:
|
service:
|
||||||
command: bin/auto-cpufreq --daemon 2>&1 | tee -a $SNAP_DATA/auto-cpufreq.log
|
command: usr/bin/snapdaemon
|
||||||
plugs:
|
plugs:
|
||||||
- cpu-control
|
- cpu-control
|
||||||
- system-observe
|
- system-observe
|
||||||
|
Loading…
x
Reference in New Issue
Block a user