SHA256
1
0
forked from pool/xdm

Accepting request 829814 from home:fbui:branches:X11:XOrg

- Drop commands in /usr/lib/X11/display-manager that are never used by systemd

OBS-URL: https://build.opensuse.org/request/show/829814
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xdm?expand=0&rev=205
This commit is contained in:
Stefan Dirsch 2020-08-27 10:36:41 +00:00 committed by Git OBS Bridge
parent 0167ae6af7
commit 8dcee96fb9
3 changed files with 18 additions and 3 deletions

View File

@ -10,7 +10,6 @@ OnFailure=plymouth-quit.service
Type=forking
PIDFile=/run/displaymanager.pid
ExecStart=/usr/lib/X11/display-manager start
ExecStop=/usr/lib/X11/display-manager stop
ExecReload=/usr/lib/X11/display-manager reload
KillMode=process

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Wed Aug 26 17:23:18 UTC 2020 - Franck Bui <fbui@suse.com>
- Drop commands in /usr/lib/X11/display-manager that are never used by systemd
Assuming that this script is only called from
display-manager.service unit, some commands of the scripts are
either never used or redundant with systemd functionalities.
More specifically, there's no need to redefine a "stop" command as
this is one basic command that systemd implements already.
Also convert "reload" to make use of $MAINPID exported by systemd
which should be slighly more reliable and hence stop relying on
killproc that might be removed in the future.
-------------------------------------------------------------------
Wed Aug 26 13:39:08 UTC 2020 - Franck Bui <fbui@suse.com>

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fc43409707d85fcf3a40db1f3ee4530fb06833a1cbdb14107eb7abcc8925fc35
size 23816
oid sha256:70a059ea9c1b06f6724c591928d1f3ca25585d2fa2bbbd138d531029d59dea72
size 23744