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

Reindl Harald h.reindl at thelounge.net
Sun Apr 14 09:13:13 PDT 2013


Am 14.04.2013 06:42, schrieb Kok:
> On Sat, Apr 13, 2013 at 2:24 PM, Reindl Harald <h.reindl at thelounge.net> wrote:
>>> - extend the collector to run much longer
>>
>> which scre to change in teh config?
> 
> You can modify systemd-readahead-done.timer, basically change:
> 
> OnActiveSec=10s
> 
> to whatever value you like

thanks, i give it a try with 3600 seconds what should cover
also a long coffee and mostly powner on with WOL and sync
work-data while drive to the office

is there any way to get informations what is "collected"
and where are the informations stored?

locate seems not to show any related file
that feels all a little bit like a blackbox

a reason i would love to define specific applications which should
always get preloaded on boot independent what is collected at runtime
what about starting the machine remove vis WOL and never login because
some data sync and shutdown 2 hours later - will the desktop get lost
from the readahead-collection - questions over questions...

[harry at srv-rhsoft:~]$ cat /etc/systemd/system/systemd-readahead-done.timer
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.

[Unit]
Description=Stop Read-Ahead Data Collection 3600s After Completed Startup
Documentation=man:systemd-readahead-replay.service(8)
DefaultDependencies=no
Conflicts=shutdown.target
After=default.target
Before=shutdown.target

[Timer]
OnActiveSec=3600s

[Install]
Also=systemd-readahead-collect.service

-------------- 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/b233628f/attachment.pgp>


More information about the systemd-devel mailing list