mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 16:47:34 +00:00
SystemServer: Implement keepalive
When reaping a child, SystemServer will now match up child's pid with its own record of the services, and respawn the service if keepalive is enabled for it. For example, we want to restart the WindowServer if it crashes, but we wouldn't want to restart the Terminal if it gets closed.
This commit is contained in:
parent
b93065359e
commit
396ad4d6b2
4 changed files with 64 additions and 4 deletions
|
@ -6,22 +6,27 @@ Priority=high
|
|||
|
||||
[ProtocolServer]
|
||||
Priority=low
|
||||
KeepAlive=1
|
||||
User=anon
|
||||
|
||||
[LookupServer]
|
||||
Priority=low
|
||||
KeepAlive=1
|
||||
User=anon
|
||||
|
||||
[WindowServer]
|
||||
Priority=high
|
||||
KeepAlive=1
|
||||
User=anon
|
||||
|
||||
[AudioServer]
|
||||
Priority=high
|
||||
KeepAlive=1
|
||||
User=anon
|
||||
|
||||
[Taskbar]
|
||||
Priority=high
|
||||
KeepAlive=1
|
||||
User=anon
|
||||
|
||||
[Terminal]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue