On Sun, Apr 14, 2013 at 2:15 PM, Reindl Harald <h.rei...@thelounge.net> wrote: > Am 14.04.2013 23:06, schrieb Kok: >>>>>> >> [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.............
The daemon doesn't need to do extra work to fork, and systemd won't need to do all the work associated with tracking a forked process - it's a lot less work, thus more efficient, and actually more robust. Auke _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel