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] [Unit]
Description=Set cpupower to ondemand Description=Set cpupower to ondemand
After=local-fs.target DefaultDependencies=false
[Service] [Service]
Type=oneshot Type=oneshot
@ -8,4 +8,4 @@ ExecStart=/bin/sh -c 'for i in /sys/devices/system/cpu/*/cpufreq/scaling_governo
RemainAfterExit=yes RemainAfterExit=yes
[Install] [Install]
WantedBy=sysinit.target WantedBy=basic.target

View File

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

View File

@ -1,6 +1,6 @@
[Unit] [Unit]
Description=Set cpupower to performance Description=Set cpupower to performance
After=local-fs.target DefaultDependencies=false
[Service] [Service]
Type=oneshot Type=oneshot
@ -8,4 +8,4 @@ ExecStart=/bin/sh -c 'for i in /sys/devices/system/cpu/*/cpufreq/scaling_governo
RemainAfterExit=yes RemainAfterExit=yes
[Install] [Install]
WantedBy=sysinit.target WantedBy=basic.target