mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 15:17:46 +00:00
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.
This commit is contained in:
parent
ab98969403
commit
52b0bd06a8
4 changed files with 40 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue