diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-11-10 02:41:25 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-11-10 02:41:25 +0000 |
| commit | ba6f5a3f1736be133bebba749d6c928c0093d605 (patch) | |
| tree | 75e66968cf12ae00b2a1908f68e62fea6ebdb609 /cpupower.service | |
| parent | 26ab2848acc6e07b338be8712491eff498d101b3 (diff) | |
automatic import of kernelopeneuler24.03_LTS_SP3
Diffstat (limited to 'cpupower.service')
| -rw-r--r-- | cpupower.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cpupower.service b/cpupower.service new file mode 100644 index 0000000..5f10ab7 --- /dev/null +++ b/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 |
