summaryrefslogtreecommitdiffstats
path: root/remote/modules/cpugovernor/data/etc/systemd/system
diff options
context:
space:
mode:
authorJonathan Bauer2014-11-17 17:47:16 +0100
committerJonathan Bauer2014-11-17 17:47:16 +0100
commit9ef02255661d25d3f147abcbd48cd00eb5be2c51 (patch)
tree807de52fd90af90fd0873fa19452bff8c7bd297c /remote/modules/cpugovernor/data/etc/systemd/system
parent[mltk] added centos help msg support (diff)
downloadtm-scripts-9ef02255661d25d3f147abcbd48cd00eb5be2c51.tar.gz
tm-scripts-9ef02255661d25d3f147abcbd48cd00eb5be2c51.tar.xz
tm-scripts-9ef02255661d25d3f147abcbd48cd00eb5be2c51.zip
[cpu-governor] new module to set the cpu governor of clients
default: ondemand if you want something else, use the SLX config variable SLX_GOVERNOR
Diffstat (limited to 'remote/modules/cpugovernor/data/etc/systemd/system')
l---------remote/modules/cpugovernor/data/etc/systemd/system/basic.target.wants/cpu-governor.service1
-rw-r--r--remote/modules/cpugovernor/data/etc/systemd/system/cpu-governor.service6
2 files changed, 7 insertions, 0 deletions
diff --git a/remote/modules/cpugovernor/data/etc/systemd/system/basic.target.wants/cpu-governor.service b/remote/modules/cpugovernor/data/etc/systemd/system/basic.target.wants/cpu-governor.service
new file mode 120000
index 00000000..878a1676
--- /dev/null
+++ b/remote/modules/cpugovernor/data/etc/systemd/system/basic.target.wants/cpu-governor.service
@@ -0,0 +1 @@
+../cpu-governor.service \ No newline at end of file
diff --git a/remote/modules/cpugovernor/data/etc/systemd/system/cpu-governor.service b/remote/modules/cpugovernor/data/etc/systemd/system/cpu-governor.service
new file mode 100644
index 00000000..e2ba1491
--- /dev/null
+++ b/remote/modules/cpugovernor/data/etc/systemd/system/cpu-governor.service
@@ -0,0 +1,6 @@
+[Unit]
+Description=Sets the CPU governor
+
+[Service]
+Type=oneshot
+ExecStart=/opt/openslx/scripts/systemd-cpu_governor