diff options
author | Topi Miettinen <toiwoton@gmail.com> | 2019-05-01 18:07:03 +0300 |
---|---|---|
committer | Topi Miettinen <toiwoton@gmail.com> | 2019-05-07 09:01:47 +0300 |
commit | bb46e785405891775a30636a647e40a7dc4d1ca7 (patch) | |
tree | ca29a5400fb572a66994f4e955f0d6cad1889e36 /man | |
parent | 9d25408a59d6273f1c4c994de9cc53f488a8ec3c (diff) |
os: add support for systemd notification
It can take some time for Xorg to start. If Xorg runs as a systemd
service and other services are based on it, they have no way to
determine when Xorg is really ready to accept requests. Let's use
sd_notify() provided by libsystemd to signal systemd for readiness.
If Xorg has not been started as a systemd service, this won't do
anything.
Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
Diffstat (limited to 'man')
-rw-r--r-- | man/Xserver.man | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/man/Xserver.man b/man/Xserver.man index 2b2114ac6..192ae4eb4 100644 --- a/man/Xserver.man +++ b/man/Xserver.man @@ -54,7 +54,8 @@ The X server may also be started directly by the user, though this method is usually reserved for testing and is not recommended for normal operation. On some platforms, the user must have special permission to start the X server, often because access to certain -devices (e.g. \fI/dev/mouse\fP) is restricted. +devices (e.g. \fI/dev/mouse\fP) is restricted. Where applicable, the +X server notifies systemd when it is ready to process requests. .PP When the X server starts up, it typically takes over the display. If you are running on a workstation whose console is the display, you may |