mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
linux: rework systemd service files
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
f6feedf243
commit
a45fdf2cf2
@ -1,6 +1,6 @@
|
||||
[Unit]
|
||||
Description=Set cpupower to ondemand
|
||||
After=local-fs.target
|
||||
DefaultDependencies=false
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
@ -8,4 +8,4 @@ ExecStart=/bin/sh -c 'for i in /sys/devices/system/cpu/*/cpufreq/scaling_governo
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=sysinit.target
|
||||
WantedBy=basic.target
|
||||
|
@ -5,4 +5,4 @@ Description=Set cpupower to ondemand
|
||||
OnBootSec=40sec
|
||||
|
||||
[Install]
|
||||
WantedBy=sysinit.target
|
||||
WantedBy=basic.target
|
||||
|
@ -1,6 +1,6 @@
|
||||
[Unit]
|
||||
Description=Set cpupower to performance
|
||||
After=local-fs.target
|
||||
DefaultDependencies=false
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
@ -8,4 +8,4 @@ ExecStart=/bin/sh -c 'for i in /sys/devices/system/cpu/*/cpufreq/scaling_governo
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=sysinit.target
|
||||
WantedBy=basic.target
|
||||
|
Loading…
x
Reference in New Issue
Block a user