[systemd-devel] Starting CUPS very late on a desktop and non-server system
Michael Scherer
misc at zarb.org
Thu Feb 20 14:46:31 PST 2014
Le jeudi 20 février 2014 à 23:18 +0100, Paul Menzel a écrit :
> Dear systemd folks,
>
>
> after Debian’s CTTE chose systemd as the default init system for the
> next Debian release, I installed it on one of the systems.
>
> Looking at the output `systemd-analyze plot`, I noticed that CUPS takes
> 700 ms to start and as this is a desktop system where not a lot is
> printed and when, then only after the user has logged in, I wonder how
> that can be dealt with systemd. Like starting it only after user login?
> Or is that something which is not nicely doable because CUPS runs as a
> system daemon?
You can start it on demand, using the activation socket system.
See http://0pointer.de/blog/projects/socket-activation2.html
( since that date back to 2011, there is likely everything already
patched upstream in a stable release )
--
Michael Scherer
More information about the systemd-devel
mailing list