linux: rework systemd service files

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-08-15 19:16:52 +02:00
parent f6feedf243
commit a45fdf2cf2
3 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -5,4 +5,4 @@ Description=Set cpupower to ondemand
OnBootSec=40sec
[Install]
WantedBy=sysinit.target
WantedBy=basic.target

View File

@ -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