Hi Laurent,

Laurent Bigonville wrote:
> Yes that file could be used as a base, the [Install] section should
> be removed and the display-manager.service should be created at
> installation time by the postinst script.
> 
> The update_wdm_wmlist script should also maybe called in a
> ExecStartPre= directive, something like that maybe (not tested):
> 
> $ cat debian/wdm.service
> [Unit]
> Description=WINGs display manager
> Documentation=man:wdm(1x)
> Conflicts=getty@tty7.service
> After=systemd-user-sessions.service getty@tty7.service plymouth-quit.service
> 
> [Service]
> ExecStartPre=/bin/sh -c 'if grep -qs '^auto-update-wmlist' 
> /etc/X11/wdm/wdm.options; then update_wdm_wmlist; fi'
> ExecStart=/usr/bin/wdm
> 
> And also create the tmpfiles config files (again not tested):
> 
> $ cat debian/wdm.tmpfile
> d /var/run/wdm 0755 root root
> L /var/run/wdm/GNUstep - - - - /etc/GNUstep

Thanks again, looks like this now (e.g. with just /run/ instead of /var/run/
and "-nodaemon" re-added):

https://anonscm.debian.org/cgit/collab-maint/wdm.git/commit/?id=23175823ef5b25f37099361f4fc1797db88ca74a

Currently testing co-installation with gdm3, lightdm, etc. and
switching display managers back and forth.

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <a...@debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

Reply via email to