Update documentation regarding systemd units

This commit is contained in:
Max Gautier 2023-02-14 12:11:40 +01:00 committed by Daniel Eklöf
parent d3ffb0bde1
commit 555edd60d4
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -121,14 +121,14 @@ the foot command line
of a socket provided by a supervision daemon (such as systemd or s6), and of a socket provided by a supervision daemon (such as systemd or s6), and
use that socket as it's own. use that socket as it's own.
Two systemd units (foot-server@.{service,socket}) are provided to use that Two systemd units (foot-server.{service,socket}) are provided to use that
feature with systemd. They need to be instantiated with the value of feature with systemd. To use socket activation, only enable the
$WAYLAND_DISPLAY (multiples instances can co-exists). socket unit.
Note that starting *foot --server* as a systemd service will use Note that starting *foot --server* as a systemd service will use
the environment of the systemd user instance; thus, if you need specific the environment of the systemd user instance; thus, you'll need
environment variables, you'll need to import them using *systemctl --user to import *$WAYLAND_DISPLAY* in it using *systemctl --user
import-environment* or use a drop-in for the foot-server service. import-environment WAYLAND_DISPLAY*.
*-H*,*--hold* *-H*,*--hold*
Remain open after child process exits. Remain open after child process exits.