26 Aug
2020
26 Aug
'20
16:28
On Wed, Aug 26, 2020 at 12:16 PM Jan Engelhardt <jengelh@inai.de> wrote:
xdm would therefore need a Require: /usr/bin/pidof.
/etc/X11/xdm/RunChooser:pidof -s kdm > /dev/null 2>&1 /etc/X11/xdm/RunChooser:if test $? -eq 0 -a -x $kdmdesktop ; then ... /etc/X11/xdm/Xsession:/sbin/pidof -s wdm > /dev/null 2>&1
So, systemctl show --property MainPID --value $SERVICE_THAT_STARTS_WISHED_DM... and we are set.
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org