[systemd-devel] systemd-readahead and often used applications

Reindl Harald h.reindl at thelounge.net
Sun Apr 14 14:15:32 PDT 2013



Am 14.04.2013 23:06, schrieb Kok:
> On Sun, Apr 14, 2013 at 1:01 PM, Reindl Harald <h.reindl at thelounge.net> wrote:
>> oh, now i realized that systemd-readahead covers any file-type
>> surely it would be bad preloading anything including data
>>
>> please have a look at http://koji.fedoraproject.org/koji/buildinfo?buildID=393183
>> this is covering only libraries but seems to be in a bad maintaining-state
>> because still no systemd-unit and all of te last updates where auto mass-rebuilds
>>
>> i wrote a systemd-unit for my machine which starts after kdm.service
>> https://bugzilla.redhat.com/show_bug.cgi?id=951956
> 
> that unit file should just go into the project upstream, I'd also
> suggest removing the kdm dependency, running with -f, making log
> output go to stdout and removing the Type=forking, so it becomes:

upstream seems to be dead

maybe there are no bugs and development to improve things
in this case upstream would not need to be more alive :-)

but i doubt that is the truth and so maybe systemd can step
into over the long...........

>>>>>
> [Unit]
> Description=Adaptive readahead daemon
> 
> [Service]
> ExecStart=/usr/sbin/preload -f 1 -l ""
> Restart=always
> RestartSec=1
> Nice=19
> IOSchedulingClass=3
> 
> [Install]
> WantedBy=multi-user.target
> <<<<<

thanks, i will give it a try
why not "Type=forking"?

in my expierience a service works with simple/forking and only
one of them while i must say my low-level understanding may
not be enouh to realize what to use.............

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20130414/73c25eb9/attachment.pgp>


More information about the systemd-devel mailing list