Can't figure out what's wrong with this service.
- Installed the
powertop
powertop --calibrate
- Created a service in /etc/systemd/powertop.service
systemctl enable powertop.service
reboot
- And got the status inactive with
systemctl status powertop
All the tunings that I applied earlier seamed to be misapplied after restart. What am I doing wrong?
Solution with a dumb terminal didn't work for me
`/etc/systemd/system/powertop.service
[Unit]
Description=Powertop tunings
[Service]
Type=exec
ExecStart=/usr/sbin/powertop --auto-tune
RemainAfterExit=true
[Install]
WantedBy=multi-user.target`
fks@thinkmad ~ $ systemctl status powertop.service
● powertop.service - Powertop tunings
Loaded: loaded (/usr/lib/systemd/system/powertop.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Mon 2020-03-23 21:28:49 CET; 22min left
Process: 653 ExecStart=/usr/sbin/powertop --auto-tune (code=exited, status=0/SUCCESS)
Main PID: 653 (code=exited, status=0/SUCCESS)
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable