diff options
author | Sergey Bugaev <bugaevc@gmail.com> | 2019-11-26 19:41:16 +0300 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-11-26 19:58:25 +0100 |
commit | 52b0bd06a8627ac75a4b667a5631a1c10456cc82 (patch) | |
tree | b0aaa729afe6e22e52f0546f07725f55e90e1ddf /Base | |
parent | ab98969403ff69fa9e4001c28ae8ea9115bfd8d4 (diff) | |
download | serenity-52b0bd06a8627ac75a4b667a5631a1c10456cc82.zip |
SystemServer: Implement lazy spawning
For services explicitly configured as lazy, SystemServer will now listen
on the socket and only spawn the service once a client attempts to connect
to the socket.
Diffstat (limited to 'Base')
-rw-r--r-- | Base/etc/SystemServer.ini | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Base/etc/SystemServer.ini b/Base/etc/SystemServer.ini index 0ead2fb94c..3c55918dfa 100644 --- a/Base/etc/SystemServer.ini +++ b/Base/etc/SystemServer.ini @@ -6,12 +6,14 @@ Priority=high [ProtocolServer] Socket=/tmp/portal/protocol +Lazy=1 Priority=low KeepAlive=1 User=anon [LookupServer] Socket=/tmp/portal/lookup +Lazy=1 Priority=low KeepAlive=1 User=anon @@ -24,6 +26,7 @@ User=anon [AudioServer] Socket=/tmp/portal/audio +# TODO: we may want to start it lazily, but right now WindowServer connects to it immediately on startup Priority=high KeepAlive=1 User=anon |