diff options
Diffstat (limited to 'SOURCES/cpupower.service')
-rw-r--r-- | SOURCES/cpupower.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/SOURCES/cpupower.service b/SOURCES/cpupower.service index e69de29..5f10ab7 100644 --- a/SOURCES/cpupower.service +++ b/SOURCES/cpupower.service @@ -0,0 +1,13 @@ +[Unit] +Description=Configure CPU power related settings +After=syslog.target + +[Service] +Type=oneshot +RemainAfterExit=yes +EnvironmentFile=/etc/sysconfig/cpupower +ExecStart=/usr/bin/cpupower $CPUPOWER_START_OPTS +ExecStop=/usr/bin/cpupower $CPUPOWER_STOP_OPTS + +[Install] +WantedBy=multi-user.target |