16 lines
484 B
Desktop File
16 lines
484 B
Desktop File
[Unit]
|
|
Description=Apricot CPU C-state tuning (disable deep C-states to reduce VRM transient demand)
|
|
After=multi-user.target
|
|
ConditionPathExists=/sys/devices/system/cpu/cpu0/cpuidle/state0
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/var/opt/apricot-health/sbin/apricot-cstate-tune apply
|
|
ExecStop=/var/opt/apricot-health/sbin/apricot-cstate-tune restore
|
|
RemainAfterExit=yes
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=apricot-cstate-tune
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|