units/multi-user.target \
units/systemd-initctl.service \
units/systemd-logger.service \
- units/syslog.target
+ units/syslog.target \
+ units/dbus.target
dist_sessionunit_DATA = \
units/session/default.target
units/systemd-initctl.service.in \
units/systemd-logger.service.in \
units/syslog.target.in \
+ units/dbus.target.in \
units/session/exit.service.in \
systemd.pc.in
rm -f display-manager.service && \
$(LN_S) $(systemunitdir)/prefdm.service display-manager.service )
( cd $(DESTDIR)$(pkgsysconfdir)/system/graphical.target.wants && \
- rm -f display-manager.service && \
- $(LN_S) ../display-manager.service display-manager.service )
+ rm -f prefdm.service && \
+ $(LN_S) ../prefdm.service prefdm.service )
( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
rm -f rc-local.service && \
$(LN_S) $(systemunitdir)/rc-local.service rc-local.service )
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 )
+ rm -f prefdm.service && \
+ $(LN_S) ../prefdm.service prefdm.service )
endif
DISTCHECK_CONFIGURE_FLAGS = \
multi-user.target
getty@.service
remote-fs.target
+dbus.target
[Unit]
Description=Halt
+DefaultDependencies=no
Requires=shutdown.target
After=shutdown.target
Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount sys-kernel-security.automount
[Unit]
Description=Power-Off
+DefaultDependencies=no
Requires=shutdown.target
After=shutdown.target
Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount sys-kernel-security.automount
[Unit]
Description=/etc/rc.local Compatibility
-Requires=basic.target
-After=basic.target
-Conflicts=shutdown.target
-Before=getty@tty1.service
[Service]
ExecStart=/etc/rc.local
TimeoutSec=0
StandardInput=tty
ValidNoProcess=yes
+
+[Install]
+WantedBy=multi-user.target
[Unit]
Description=Reboot
+DefaultDependencies=no
Requires=shutdown.target
After=shutdown.target
Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount sys-kernel-security.automount
[Unit]
Description=System Initialization
+DefaultDependencies=no
Before=local-fs.target remote-fs.target swap.target sockets.target
Conflicts=shutdown.target
Before=shutdown.target
--- /dev/null
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=D-Bus
+
+# As soon as D-Bus has native files this explicit dependency should be
+# dropped, and replaced by an alias symlink in the .wants/ directory,
+# to either the .service or .socket unit of the D-Bus service.
+Requires=@SPECIAL_DBUS_SERVICE@
+After=@SPECIAL_DBUS_SERVICE@
[Unit]
Description=Emergency Shell
+DefaultDependencies=no
[Service]
ExecStart=/bin/sh
[Unit]
Description=Halt
+DefaultDependencies=no
Requires=shutdown.target killall.service
After=shutdown.target killall.service
Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount sys-kernel-security.automount
[Unit]
Description=Kill All Processes
+DefaultDependencies=no
After=shutdown.target
OnlyByDependency=yes
[Unit]
Description=Power-Off
+DefaultDependencies=no
Requires=shutdown.target killall.service
After=shutdown.target killall.service
Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount sys-kernel-security.automount
[Unit]
Description=Display Manager
-Before=graphical.target
-Requires=basic.target
-After=basic.target syslog.target messagebus.service haldaemon.service
-Conflicts=shutdown.target
+After=syslog.target dbus.target haldaemon.service
[Service]
ExecStart=/etc/X11/prefdm -nodaemon
[Install]
Alias=display-manager.service
+WantedBy=graphical.target
[Unit]
Description=/etc/rc.local Compatibility
-Requires=basic.target
-After=basic.target
-Conflicts=shutdown.target
-Before=getty@tty1.service
# The rcN.d symlink uses the name "local" while the script itself is
# called "rc.local", hence carry both names here.
StandardInput=tty
ValidNoProcess=yes
SysVStartPriority=99
+
+[Install]
+WantedBy=multi-user.target
[Unit]
Description=Reboot
+DefaultDependencies=no
Requires=shutdown.target killall.service
After=shutdown.target killall.service
Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount sys-kernel-security.automount
[Unit]
Description=System Initialization
+DefaultDependencies=no
Before=local-fs.target remote-fs.target swap.target sockets.target
Conflicts=shutdown.target
Before=shutdown.target
[Unit]
Description=Halt
+DefaultDependencies=no
Requires=shutdown.target killall.service
After=shutdown.target killall.service
Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount sys-kernel-security.automount
[Unit]
Description=Kill All Processes
+DefaultDependencies=no
After=shutdown.target
OnlyByDependency=yes
[Unit]
Description=Power-Off
+DefaultDependencies=no
Requires=shutdown.target killall.service
After=shutdown.target killall.service
Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount sys-kernel-security.automount
[Unit]
Description=Reboot
+DefaultDependencies=no
Requires=shutdown.target killall.service
After=shutdown.target killall.service
Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount sys-kernel-security.automount
[Unit]
Description=Display Manager
-Before=graphical.target
-Requires=basic.target
-After=basic.target syslog.target dbus.service hald.service
-Conflicts=shutdown.target
+After=syslog.target dbus.target hald.service
[Service]
ExecStart=/etc/init.d/xdm start
+
+[Install]
+Alias=display-manager.service
+WantedBy=graphical.target
[Unit]
Description=Getty on %I
Before=getty.target
-After=basic.target
-Conflicts=shutdown.target
+m4_ifdef(`TARGET_FEDORA',
+After=rc-local.service
+)m4_dnl
+m4_ifdef(`TARGET_ARCH',
+After=rc-local.service
+)m4_dnl
[Service]
Environment=TERM=linux
[Unit]
Description=Exit
+DefaultDependencies=no
Requires=shutdown.target
After=shutdown.target
[Unit]
Description=Halt
+DefaultDependencies=no
Requires=shutdown.target
After=shutdown.target
Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount sys-kernel-security.automount
[Unit]
Description=Power-Off
+DefaultDependencies=no
Requires=shutdown.target
After=shutdown.target
Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount sys-kernel-security.automount
[Unit]
Description=Reboot
+DefaultDependencies=no
Requires=shutdown.target
After=shutdown.target
Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount sys-kernel-security.automount
[Unit]
Description=Syslog
+
+# As soon as all syslog services have native unit files this explicit
+# dependency should be dropped, and replaced by alias symlinks in the
+# .wants/ directory, to either the .service or .socket unit of the
+# syslog service.
Requires=@SPECIAL_SYSLOG_SERVICE@
After=@SPECIAL_SYSLOG_SERVICE@
[Unit]
Description=systemd /dev/initctl Compatibility Daemon
+DefaultDependencies=no
[Service]
ExecStart=@rootlibexecdir@/systemd-initctl
[Unit]
Description=systemd /dev/initctl Compatibility Socket
+DefaultDependencies=no
After=sysinit.target
Before=sockets.target
[Unit]
Description=systemd Logging Daemon
+DefaultDependencies=no
After=@SPECIAL_SYSLOG_SERVICE@
[Service]
[Unit]
Description=systemd Logging Socket
+DefaultDependencies=no
After=sysinit.target
Before=sockets.target