You are not logged in.
How can I use preload with systemd? it start automaically or ll systemd support it in future?
Last edited by fincan (2012-08-02 22:07:33)
Offline
You can add it to the daemons array in rc.conf.
Offline
systemd features its own Readahead-style option, if that's what you're looking for. Otherwise, hadrons123 has it right.
Offline
welli I use systemd-sysvcompat so there is no rc.conf. and I mean this preload package http://www.archlinux.org/packages/commu … 4/preload/ it is not linked to system boot time.
Offline
You might need to write your own .service file if you want to use this preload. Alternatively you can use systemd's readahead.
Offline
As another option e4rat works wonderfully with systemd.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
well with last update, preload.service added. thx @Bartłomiej Piotrowski
Offline
As another option e4rat works wonderfully with systemd.
That's what I wanted to hear!
I'm in the middle of migration to systemd and everything was quite smooth until I stump with init=/bin/systemd, which overrides my actual init=/sbin/e4rat-lite-preload line.
I already read from the wiki: "e4rat-collect defaults to replacing itself with /sbin/init upon completion. If you need to specify another PID 1, such as /bin/systemd, you can change this in /etc/e4rat.conf by setting the init parameter and uncommenting the line." but it's still unclear to me how to do this.
How have you managed to use e4rat preload in conjunction with systemd?
EDIT
Wait, "[...] you can change this in /etc/e4rat.conf by setting the init parameter and uncommenting the line." O_o
That means that I should replace:
[Global]
; Path to the main initialization process
init_file=/sbin/init
to init_file=/bin/systemd?
Last edited by msx (2012-09-17 15:22:32)
Enjoying i3wm w/ lifebar + j4-dmenu-desktop + tab_windows / fish shell / Emacs / tmux / Konsole / KDE apps
Arch + Linux-libre kernel: ParabolaGNULinux.org
Offline