Re: Starting powertop --auto-tune from systemd
On Sun 11 Mar 2018 at 14:36:09 (-0400), bw wrote:
>
>
> On Sun, 11 Mar 2018, Rainer Dorsch wrote:
>
> > Am Samstag, 10. März 2018, 15:16:29 CET schrieb bw:
> > > On Sat, 10 Mar 2018, Rainer Dorsch wrote:
> > > > 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
> > >
> > > Yes, the arch wiki often has different paths for tools. I have been
> > > bitten by that several times.
> > >
> > > # which powertop
> > > /usr/sbin/powertop
> >
> > Many thanks, that indeed solves the problem.
> >
> > Rainer
> >
> > --
> > Rainer Dorsch
> > http://bokomoko.de/
> >
> >
>
> I don't understand why powertop would be in /bin on arch even after
> reading David's links about usrmerge. If I saw something like this in
> debian's wiki, I'd probably look into it and let someone know.
Ahem—arch has no /bin, /sbin or /usr/sbin to put anything into.
So it's hardly surprising that they put powertop into /usr/bin.
Cheers,
David.
Reply to: