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
|
||||
base: core20
|
||||
version: '1.2.2'
|
||||
version: '1.2.3'
|
||||
summary: Automatic CPU speed & power optimizer for Linux
|
||||
description: |
|
||||
Automatic CPU speed & power optimizer for Linux based on active
|
||||
@ -24,11 +24,12 @@ parts:
|
||||
- lm-sensors
|
||||
source: .
|
||||
|
||||
deploy-cpufrectl:
|
||||
deploy-scripts:
|
||||
plugin: dump
|
||||
source: scripts
|
||||
organize:
|
||||
cpufreqctl.sh: usr/bin/cpufreqctl
|
||||
snapdaemon.sh: usr/bin/snapdaemon
|
||||
|
||||
apps:
|
||||
auto-cpufreq:
|
||||
@ -43,7 +44,7 @@ apps:
|
||||
PKG_MARKER: SNAP
|
||||
|
||||
service:
|
||||
command: bin/auto-cpufreq --daemon 2>&1 | tee -a $SNAP_DATA/auto-cpufreq.log
|
||||
command: usr/bin/snapdaemon
|
||||
plugs:
|
||||
- cpu-control
|
||||
- system-observe
|
||||
|
Loading…
x
Reference in New Issue
Block a user