mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
units: fix Gentoo services
This commit is contained in:
parent
723c83fd05
commit
f306f4c40d
@ -538,6 +538,14 @@ if TARGET_FEDORA
|
||||
( cd $(DESTDIR)/etc/init.d && \
|
||||
$(LN_S) halt reboot > /dev/null 2>&1 || true )
|
||||
endif
|
||||
if TARGET_GENTOO
|
||||
( cd $(DESTDIR)$(pkgsysconfdir)/system && \
|
||||
rm -f display-manager.service && \
|
||||
$(LN_S) $(systemunitdir)/xdm.service display-manager.service )
|
||||
( cd $(DESTDIR)$(pkgsysconfdir)/system/graphical.target.wants && \
|
||||
rm -f display-manager.service && \
|
||||
$(LN_S) ../display-manager.service display-manager.service )
|
||||
endif
|
||||
|
||||
DISTCHECK_CONFIGURE_FLAGS = \
|
||||
--with-udevrulesdir=$$dc_install_base/$(udevrulesdir)
|
||||
|
@ -14,5 +14,4 @@ Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.a
|
||||
[Service]
|
||||
Type=finish
|
||||
ValidNoProcess=yes
|
||||
Environment=RUNLEVEL=6
|
||||
ExecStart=/etc/init.d/reboot.sh
|
||||
|
@ -8,7 +8,8 @@
|
||||
[Unit]
|
||||
Description=Display Manager
|
||||
Before=graphical.target
|
||||
After=basic.target syslog.target messagebus.service haldaemon.service
|
||||
Requires=basic.target
|
||||
After=basic.target syslog.target dbus.service hald.service
|
||||
Conflicts=shutdown.target
|
||||
|
||||
[Service]
|
||||
|
Loading…
Reference in New Issue
Block a user