Am 10.03.2018 um 18:55 schrieb Rainer Dorsch: > [Please follow-up to debian-user] > > Hello, > > I run > > /usr/bin/powertop --auto-tune > > to optimize the power consumption of my system. Running it manually works > nicely. When I try to run from systemd, I see no effect :-/ > > I followed > > https://wiki.archlinux.org/index.php/Powertop#Apply_settings > > added > > root@master:~# cat /etc/systemd/system/powertop.service > [Unit] > Description=Powertop tunings > > [Service] > ExecStart=/usr/bin/powertop --auto-tune > RemainAfterExit=true > > [Install] > WantedBy=multi-user.target > root@master:~# > > enabled it for systemd and got > > root@master:~# systemctl status powertop.service > ● powertop.service - Powertop tunings > Loaded: loaded (/etc/systemd/system/powertop.service; enabled; vendor > preset: enabled) > Active: active (exited) (Result: exit-code) since Sat 2018-03-10 18:29:53 > CET; 22min ago > Process: 642 ExecStart=/usr/bin/powertop --auto-tune (code=exited, > status=203/EXEC) > Main PID: 642 (code=exited, status=203/EXEC)
systemct tells you there was a problem trying to execute the binary. Possibly because it's the wrong path? $ whereis powertop powertop: /usr/sbin/powertop /usr/share/man/man8/powertop.8.gz (note bin vs sbin) -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature