diff options
author | Diego Nicola Barbato <dnbarbato@posteo.de> | 2019-04-28 15:52:50 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-05-07 15:46:54 +0200 |
commit | 61569171d03146f41ba1b9aedf29fd8fa78d6102 (patch) | |
tree | f50cd9048a5b55badda248b3fe6c34dfe6f4e19c /scripts | |
parent | 6426a8fb6c350793939d894962e108f489568cb9 (diff) | |
download | guix-61569171d03146f41ba1b9aedf29fd8fa78d6102.tar guix-61569171d03146f41ba1b9aedf29fd8fa78d6102.tar.gz |
services: slim: Allow SLiM to be started on multiple ttys.
This change makes it possible to add multiple SLiM services to an operating
system configuration by setting the new 'display' and 'vt' fields in their
configurations to different values. Each SLiM service will get its own
authfile, logfile, lockfile, and shepherd service, which will start SLiM on a
different tty.
* gnu/services/xorg.scm: Export slim-configuration-display and
slim-configuration-vt.
(<slim-configuration>)[display, vt]: New fields.
(slim-shepherd-service): Refactor let.
[slim.cfg]: Use new fields for setting display_name, xserver_arguments,
authfile, lockfile, and logfile.
[shepherd-service][provision]: Name the shepherd service according to the
value of 'vt'.
[shepherd-service][start]: Delete the right lockfile.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions