summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-06-04 18:43:40 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-04 18:43:40 +0200
commitf92a18f5274ad506aed600b2ed8f4a560c510807 (patch)
treee44e2fa379994728ac44eb3d23b7cd75316eac48 /units
parent2f630e5ffd587a74f43d9495768481e9953a865b (diff)
units: introduce and explain sysinit.target
Diffstat (limited to 'units')
-rw-r--r--units/.gitignore2
-rw-r--r--units/basic.target14
-rw-r--r--units/dev-hugepages.automount2
-rw-r--r--units/dev-mqueue.automount2
-rw-r--r--units/proc-sys-fs-binfmt_misc.automount2
-rw-r--r--units/sys-kernel-debug.automount2
-rw-r--r--units/sys-kernel-security.automount2
-rw-r--r--units/sysinit.target.m4 (renamed from units/basic.target.m4)4
-rw-r--r--units/systemd-initctl.socket1
-rw-r--r--units/systemd-logger.socket1
10 files changed, 23 insertions, 9 deletions
diff --git a/units/.gitignore b/units/.gitignore
index 7e61543864..ea85dc081e 100644
--- a/units/.gitignore
+++ b/units/.gitignore
@@ -1,7 +1,7 @@
systemd-initctl.service
systemd-logger.service
syslog.target
-basic.target
+sysinit.target
graphical.target
multi-user.target
getty@.service
diff --git a/units/basic.target b/units/basic.target
new file mode 100644
index 0000000000..aa94b94ad6
--- /dev/null
+++ b/units/basic.target
@@ -0,0 +1,14 @@
+# 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=Basic System
+Requires=sysinit.target local-fs.target swap.target sockets.target
+After=sysinit.target local-fs.target swap.target sockets.target
+OnlyByDependency=yes
diff --git a/units/dev-hugepages.automount b/units/dev-hugepages.automount
index 9fef9eeb37..4e7f8ff5a9 100644
--- a/units/dev-hugepages.automount
+++ b/units/dev-hugepages.automount
@@ -7,7 +7,7 @@
[Unit]
Description=Huge Pages File System Automount Point
-Before=basic.target
+Before=sysinit.target
[Automount]
Where=/dev/hugepages
diff --git a/units/dev-mqueue.automount b/units/dev-mqueue.automount
index a24ffe68f5..4df53dcaa4 100644
--- a/units/dev-mqueue.automount
+++ b/units/dev-mqueue.automount
@@ -7,7 +7,7 @@
[Unit]
Description=POSIX Message Queue File System Automount Point
-Before=basic.target
+Before=sysinit.target
[Automount]
Where=/dev/mqueue
diff --git a/units/proc-sys-fs-binfmt_misc.automount b/units/proc-sys-fs-binfmt_misc.automount
index 4e9b23b938..82369c56b3 100644
--- a/units/proc-sys-fs-binfmt_misc.automount
+++ b/units/proc-sys-fs-binfmt_misc.automount
@@ -7,7 +7,7 @@
[Unit]
Description=Arbitrary Executable File Formats File System Automount Point
-Before=basic.target
+Before=sysinit.target
[Automount]
Where=/proc/sys/fs/binfmt_misc
diff --git a/units/sys-kernel-debug.automount b/units/sys-kernel-debug.automount
index 3d5b52d049..4da3f20531 100644
--- a/units/sys-kernel-debug.automount
+++ b/units/sys-kernel-debug.automount
@@ -7,7 +7,7 @@
[Unit]
Description=Debug File System Automount Point
-Before=basic.target
+Before=sysinit.target
[Automount]
Where=/sys/kernel/debug
diff --git a/units/sys-kernel-security.automount b/units/sys-kernel-security.automount
index 061a5a23ad..5d8356e513 100644
--- a/units/sys-kernel-security.automount
+++ b/units/sys-kernel-security.automount
@@ -7,7 +7,7 @@
[Unit]
Description=Security File System Automount Point
-Before=basic.target
+Before=sysinit.target
[Automount]
Where=/sys/kernel/security
diff --git a/units/basic.target.m4 b/units/sysinit.target.m4
index 537ad8daf7..68c661ef02 100644
--- a/units/basic.target.m4
+++ b/units/sysinit.target.m4
@@ -8,9 +8,7 @@
# See systemd.special(7) for details
[Unit]
-Description=Basic System
-Requires=local-fs.target swap.target sockets.target
-After=local-fs.target swap.target sockets.target
+Description=Systemd Initialization
Conflicts=emergency.service
OnlyByDependency=yes
m4_dnl
diff --git a/units/systemd-initctl.socket b/units/systemd-initctl.socket
index fdb95deddd..af5cca202e 100644
--- a/units/systemd-initctl.socket
+++ b/units/systemd-initctl.socket
@@ -9,6 +9,7 @@
[Unit]
Description=systemd /dev/initctl Compatibility Socket
+After=sysinit.target
[Socket]
ListenFIFO=/dev/initctl
diff --git a/units/systemd-logger.socket b/units/systemd-logger.socket
index f62b582d3e..7195a9e856 100644
--- a/units/systemd-logger.socket
+++ b/units/systemd-logger.socket
@@ -9,6 +9,7 @@
[Unit]
Description=systemd Logging Socket
+After=sysinit.target
[Socket]
ListenStream=@/org/freedesktop/systemd1/logger