خرید بک لینک

I've been frustrated getting powertop to execute via a Systemd unit in 16.04.

In Fedora 24, installing powertop also installs "powertop.service". Then, a "sudo systemctl enable powertop.service", a reboot, and it's working.

Ubuntu's powertop package doesn't install a powertop.service unit. If I copy Fedora's to Ubuntu, enable it, it does not start, either on system start or via "sudo systemctl start powertop.service". "systemctl status powertop.service" reports it failed. Permissions, ownership, etc. are identical to Fedora's. (Also, powertop's readout would indicate it worked, but does not.)

Here's the unit:

Code:

[Unit]
Description=PowerTOP autotuner

[Service]
Type=oneshot
ExecStart=/usr/sbin/powertop --auto-tune

[Install]
WantedBy=multi-user.target
The "--auto-tune" parameter tells powertop to execute a set of power management tuning tweaks.

I'm stumped. Been down the usual paths in Google and elsewhere to no avail.

برچسب: نویسنده: استخدام کار تاريخ: يکشنبه 12 ارديبهشت 1395 ساعت: 6:01

صفحه بندی