mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
services: slim: Provide the 'xorg-server' Shepherd service.
This is a followup to 61569171d0.
* gnu/services/xorg.scm (slim-shepherd-service): Add 'xorg-server' to
'provision' when VT is "vt7".
This commit is contained in:
parent
cae0725b80
commit
6ad799d7c5
1 changed files with 8 additions and 2 deletions
|
|
@ -549,8 +549,14 @@ reboot_cmd " shepherd "/sbin/reboot\n"
|
|||
|
||||
(list (shepherd-service
|
||||
(documentation "Xorg display server")
|
||||
(provision (list (symbol-append 'xorg-server-
|
||||
(string->symbol vt))))
|
||||
(provision (append
|
||||
;; For compatibility, also provide 'xorg-server'.
|
||||
(if (string=? vt "vt7")
|
||||
'(xorg-server)
|
||||
'())
|
||||
|
||||
(list (symbol-append 'xorg-server-
|
||||
(string->symbol vt)))))
|
||||
(requirement '(user-processes host-name udev))
|
||||
(start
|
||||
#~(lambda ()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue