mirror of
https://github.com/AdnanHodzic/auto-cpufreq.git
synced 2025-09-12 20:38:19 +02:00
- on SELinux enabled systems, the daemon fails to start unless the logfile is already present, because the systemd unit file redirects the STDOUT to a file.
13 lines
345 B
Desktop File
13 lines
345 B
Desktop File
[Unit]
|
|
Description=auto-cpufreq - Automatic CPU speed & power optimizer for Linux
|
|
After=network.target network-online.target
|
|
ConditionPathExists=/var/log/auto-cpufreq.log
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=root
|
|
ExecStart=/usr/bin/python3 /usr/bin/auto-cpufreq --daemon
|
|
StandardOutput=file:/var/log/auto-cpufreq.log
|
|
[Install]
|
|
WantedBy=multi-user.target
|