aboutsummaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2010-10-05 12:36:37 +0200
committerHarald Hoyer <harald@redhat.com>2010-10-05 12:39:38 +0200
commitf280984f691e0c3cbca2b31dad7a32a5c66ab51b (patch)
tree1a016c641eb457debaa442b15530dc2ac05d3bb5 /systemd
parente2e47f96940b9ba91e8b14af2c8f3fea50879592 (diff)
downloadinitscripts-f280984f691e0c3cbca2b31dad7a32a5c66ab51b.tar
initscripts-f280984f691e0c3cbca2b31dad7a32a5c66ab51b.tar.gz
initscripts-f280984f691e0c3cbca2b31dad7a32a5c66ab51b.tar.bz2
initscripts-f280984f691e0c3cbca2b31dad7a32a5c66ab51b.tar.xz
initscripts-f280984f691e0c3cbca2b31dad7a32a5c66ab51b.zip
add systemd services
Diffstat (limited to 'systemd')
-rw-r--r--systemd/rcS-autoswap.service16
-rw-r--r--systemd/rcS-cleanup.service16
-rw-r--r--systemd/rcS-configure.service17
-rw-r--r--systemd/rcS-dmesg.service16
-rw-r--r--systemd/rcS-dmraid.service17
-rw-r--r--systemd/rcS-initcrypto1.service19
-rw-r--r--systemd/rcS-initcrypto2.service18
-rw-r--r--systemd/rcS-initcrypto3.service17
-rw-r--r--systemd/rcS-kernelparam.service16
-rw-r--r--systemd/rcS-loaddmmod.service16
-rw-r--r--systemd/rcS-loadmodules.service15
-rw-r--r--systemd/rcS-lvm.service18
-rw-r--r--systemd/rcS-mdraid.service18
-rw-r--r--systemd/rcS-mountall.service17
-rw-r--r--systemd/rcS-multipath.service17
-rw-r--r--systemd/rcS-quota.service16
-rw-r--r--systemd/rcS-random.service16
-rw-r--r--systemd/rcS-selinuxrelabel.service17
-rw-r--r--systemd/rcS-sysinitend.service17
-rw-r--r--systemd/rcS-waitscan.service17
20 files changed, 336 insertions, 0 deletions
diff --git a/systemd/rcS-autoswap.service b/systemd/rcS-autoswap.service
new file mode 100644
index 00000000..00d3b47b
--- /dev/null
+++ b/systemd/rcS-autoswap.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=System Initialization
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=shutdown.target emergency.service emergency.target
+After=rcS-initcrypto3.service
+Conflicts=sysinit.service
+
+[Service]
+ExecStart=/etc/rc.d/rcS.d/270-autoswap.sh
+Type=oneshot
+TimeoutSec=0
+RemainAfterExit=yes
+
+[Install]
+WantedBy=sysinit.target
diff --git a/systemd/rcS-cleanup.service b/systemd/rcS-cleanup.service
new file mode 100644
index 00000000..929a1085
--- /dev/null
+++ b/systemd/rcS-cleanup.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=System Initialization
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=shutdown.target emergency.service emergency.target
+After=rcS-mountall.service
+Conflicts=sysinit.service
+
+[Service]
+ExecStart=/etc/rc.d/rcS.d/250-cleanup.sh
+Type=oneshot
+TimeoutSec=0
+RemainAfterExit=yes
+
+[Install]
+WantedBy=sysinit.target
diff --git a/systemd/rcS-configure.service b/systemd/rcS-configure.service
new file mode 100644
index 00000000..8cdc4a9c
--- /dev/null
+++ b/systemd/rcS-configure.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=System Initialization
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=shutdown.target emergency.service emergency.target
+After=rcS-mountall.service
+Conflicts=sysinit.service
+
+[Service]
+ExecStart=/etc/rc.d/rcS.d/240-configure.sh
+Type=oneshot
+TimeoutSec=0
+StandardInput=tty
+RemainAfterExit=yes
+
+[Install]
+WantedBy=sysinit.target
diff --git a/systemd/rcS-dmesg.service b/systemd/rcS-dmesg.service
new file mode 100644
index 00000000..00d30a15
--- /dev/null
+++ b/systemd/rcS-dmesg.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=System Initialization
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=shutdown.target emergency.service emergency.target
+After=rcS-mountall.service
+Conflicts=sysinit.service
+
+[Service]
+ExecStart=/etc/rc.d/rcS.d/330-dmesg.sh
+Type=oneshot
+TimeoutSec=0
+RemainAfterExit=yes
+
+[Install]
+WantedBy=sysinit.target
diff --git a/systemd/rcS-dmraid.service b/systemd/rcS-dmraid.service
new file mode 100644
index 00000000..f5e0bf57
--- /dev/null
+++ b/systemd/rcS-dmraid.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=System Initialization
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=shutdown.target emergency.service emergency.target
+After=rcS-multipath.service
+Before=rcS-initcrypto2.service
+Conflicts=sysinit.service
+
+[Service]
+ExecStart=/etc/rc.d/rcS.d/150-dmraid.sh
+Type=oneshot
+TimeoutSec=0
+RemainAfterExit=yes
+
+[Install]
+WantedBy=sysinit.target
diff --git a/systemd/rcS-initcrypto1.service b/systemd/rcS-initcrypto1.service
new file mode 100644
index 00000000..0082f1c5
--- /dev/null
+++ b/systemd/rcS-initcrypto1.service
@@ -0,0 +1,19 @@
+[Unit]
+Description=System Initialization
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=shutdown.target emergency.service emergency.target
+Before=rcS-initcrypto2.service
+After=rcS-waitscan.service
+After=udev-settle.service
+Conflicts=sysinit.service
+
+[Service]
+ExecStart=/etc/rc.d/rcS.d/130-initcrypto1.sh
+Type=oneshot
+TimeoutSec=0
+StandardInput=tty
+RemainAfterExit=yes
+
+[Install]
+WantedBy=sysinit.target
diff --git a/systemd/rcS-initcrypto2.service b/systemd/rcS-initcrypto2.service
new file mode 100644
index 00000000..60b7e7f1
--- /dev/null
+++ b/systemd/rcS-initcrypto2.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=System Initialization
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=shutdown.target emergency.service emergency.target
+Before=rcS-mountall.service
+After=rcS-initcrypto1.service
+Conflicts=sysinit.service
+
+[Service]
+ExecStart=/etc/rc.d/rcS.d/180-initcrypto2.sh
+Type=oneshot
+TimeoutSec=0
+StandardInput=tty
+RemainAfterExit=yes
+
+[Install]
+WantedBy=sysinit.target
diff --git a/systemd/rcS-initcrypto3.service b/systemd/rcS-initcrypto3.service
new file mode 100644
index 00000000..e6d8e964
--- /dev/null
+++ b/systemd/rcS-initcrypto3.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=System Initialization
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=shutdown.target emergency.service emergency.target
+After=rcS-random.service
+Conflicts=sysinit.service
+
+[Service]
+ExecStart=/etc/rc.d/rcS.d/230-initcrypto3.sh
+Type=oneshot
+TimeoutSec=0
+StandardInput=tty
+RemainAfterExit=yes
+
+[Install]
+WantedBy=sysinit.target
diff --git a/systemd/rcS-kernelparam.service b/systemd/rcS-kernelparam.service
new file mode 100644
index 00000000..564b6f68
--- /dev/null
+++ b/systemd/rcS-kernelparam.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=System Initialization
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=shutdown.target emergency.service emergency.target
+Before=udev-settle.service
+Conflicts=sysinit.service
+
+[Service]
+ExecStart=/etc/rc.d/rcS.d/100-kernelparam.sh
+Type=oneshot
+TimeoutSec=0
+RemainAfterExit=yes
+
+[Install]
+WantedBy=sysinit.target
diff --git a/systemd/rcS-loaddmmod.service b/systemd/rcS-loaddmmod.service
new file mode 100644
index 00000000..35b88fb5
--- /dev/null
+++ b/systemd/rcS-loaddmmod.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=System Initialization
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=shutdown.target emergency.service emergency.target
+Before=rcS-dmraid.service
+Conflicts=sysinit.service
+
+[Service]
+ExecStart=/etc/rc.d/rcS.d/120-loaddmmod.sh
+Type=oneshot
+TimeoutSec=0
+RemainAfterExit=yes
+
+[Install]
+WantedBy=sysinit.target \ No newline at end of file
diff --git a/systemd/rcS-loadmodules.service b/systemd/rcS-loadmodules.service
new file mode 100644
index 00000000..4eb21518
--- /dev/null
+++ b/systemd/rcS-loadmodules.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=System Initialization
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=shutdown.target emergency.service emergency.target
+Conflicts=sysinit.service
+
+[Service]
+ExecStart=/etc/rc.d/rcS.d/090-loadmodules.sh
+Type=oneshot
+TimeoutSec=0
+RemainAfterExit=yes
+
+[Install]
+WantedBy=sysinit.target
diff --git a/systemd/rcS-lvm.service b/systemd/rcS-lvm.service
new file mode 100644
index 00000000..8e153b20
--- /dev/null
+++ b/systemd/rcS-lvm.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=System Initialization
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=shutdown.target emergency.service emergency.target
+After=rcS-mdraid.service
+Before=rcS-initcrypto2.service
+Conflicts=sysinit.service
+
+[Service]
+ExecStart=/etc/rc.d/rcS.d/170-lvm.sh
+Type=oneshot
+TimeoutSec=0
+StandardInput=tty
+RemainAfterExit=yes
+
+[Install]
+WantedBy=sysinit.target
diff --git a/systemd/rcS-mdraid.service b/systemd/rcS-mdraid.service
new file mode 100644
index 00000000..f63c8fbf
--- /dev/null
+++ b/systemd/rcS-mdraid.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=System Initialization
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=shutdown.target emergency.service emergency.target
+After=rcS-dmraid.service
+Before=rcS-initcrypto2.service
+Conflicts=sysinit.service
+
+[Service]
+ExecStart=/etc/rc.d/rcS.d/160-mdraid.sh
+Type=oneshot
+TimeoutSec=0
+StandardInput=tty
+RemainAfterExit=yes
+
+[Install]
+WantedBy=sysinit.target
diff --git a/systemd/rcS-mountall.service b/systemd/rcS-mountall.service
new file mode 100644
index 00000000..684f1d3b
--- /dev/null
+++ b/systemd/rcS-mountall.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=System Initialization
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=shutdown.target emergency.service emergency.target
+After=udev-settle.service
+Conflicts=sysinit.service
+
+[Service]
+ExecStart=/etc/rc.d/rcS.d/190-mountall.sh
+Type=oneshot
+TimeoutSec=0
+StandardInput=tty
+RemainAfterExit=yes
+
+[Install]
+WantedBy=sysinit.target
diff --git a/systemd/rcS-multipath.service b/systemd/rcS-multipath.service
new file mode 100644
index 00000000..b9754f40
--- /dev/null
+++ b/systemd/rcS-multipath.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=System Initialization
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=shutdown.target emergency.service emergency.target
+After=rcS-initcrypto1.service
+Before=rcS-initcrypto2.service
+Conflicts=sysinit.service
+
+[Service]
+ExecStart=/etc/rc.d/rcS.d/140-multipath.sh
+Type=oneshot
+TimeoutSec=0
+RemainAfterExit=yes
+
+[Install]
+WantedBy=sysinit.target
diff --git a/systemd/rcS-quota.service b/systemd/rcS-quota.service
new file mode 100644
index 00000000..ac1794ee
--- /dev/null
+++ b/systemd/rcS-quota.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=System Initialization
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=shutdown.target emergency.service emergency.target
+After=rcS-mountall.service
+Conflicts=sysinit.service
+
+[Service]
+ExecStart=/etc/rc.d/rcS.d/200-quota.sh
+Type=oneshot
+TimeoutSec=0
+RemainAfterExit=yes
+
+[Install]
+WantedBy=sysinit.target
diff --git a/systemd/rcS-random.service b/systemd/rcS-random.service
new file mode 100644
index 00000000..cbb678bb
--- /dev/null
+++ b/systemd/rcS-random.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=System Initialization
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=shutdown.target emergency.service emergency.target
+After=rcS-mountall.service
+Conflicts=sysinit.service
+
+[Service]
+ExecStart=/etc/rc.d/rcS.d/220-random.sh
+Type=oneshot
+TimeoutSec=0
+RemainAfterExit=yes
+
+[Install]
+WantedBy=sysinit.target
diff --git a/systemd/rcS-selinuxrelabel.service b/systemd/rcS-selinuxrelabel.service
new file mode 100644
index 00000000..de02ed1e
--- /dev/null
+++ b/systemd/rcS-selinuxrelabel.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=System Initialization
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=shutdown.target emergency.service emergency.target
+After=rcS-mountall.service
+Conflicts=sysinit.service
+
+[Service]
+ExecStart=/etc/rc.d/rcS.d/210-selinuxrelabel.sh
+Type=oneshot
+TimeoutSec=0
+StandardInput=tty
+RemainAfterExit=yes
+
+[Install]
+WantedBy=sysinit.target
diff --git a/systemd/rcS-sysinitend.service b/systemd/rcS-sysinitend.service
new file mode 100644
index 00000000..f563dab4
--- /dev/null
+++ b/systemd/rcS-sysinitend.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=System Initialization End
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=shutdown.target emergency.service emergency.target
+Before=sysinit.target
+After=rcS-dmesg.service
+Conflicts=sysinit.service
+
+[Service]
+ExecStart=/etc/rc.d/rcS.d/990-sysinitend.sh
+Type=oneshot
+TimeoutSec=0
+RemainAfterExit=yes
+
+[Install]
+WantedBy=sysinit.target
diff --git a/systemd/rcS-waitscan.service b/systemd/rcS-waitscan.service
new file mode 100644
index 00000000..0b597d82
--- /dev/null
+++ b/systemd/rcS-waitscan.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=System Initialization
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=shutdown.target emergency.service emergency.target
+After=rcS-loadmodules.service
+Before=udev-settle.service
+Conflicts=sysinit.service
+
+[Service]
+ExecStart=/etc/rc.d/rcS.d/110-waitscan.sh
+Type=oneshot
+TimeoutSec=0
+RemainAfterExit=yes
+
+[Install]
+WantedBy=sysinit.target