summaryrefslogtreecommitdiff
path: root/Base
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2019-11-26 19:19:59 +0300
committerAndreas Kling <awesomekling@gmail.com>2019-11-26 19:58:25 +0100
commit396ad4d6b257c8a3afb143954606aca4ecb57e74 (patch)
tree3cf34d8bf1f0728bfe111a90dd4b306705a67c1d /Base
parentb93065359e5b963e920feb30f60937d10776c9f8 (diff)
downloadserenity-396ad4d6b257c8a3afb143954606aca4ecb57e74.zip
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.
Diffstat (limited to 'Base')
-rw-r--r--Base/etc/SystemServer.ini5
1 files changed, 5 insertions, 0 deletions
diff --git a/Base/etc/SystemServer.ini b/Base/etc/SystemServer.ini
index 22bf7be108..02d93d59d5 100644
--- a/Base/etc/SystemServer.ini
+++ b/Base/etc/SystemServer.ini
@@ -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]