aboutsummaryrefslogtreecommitdiff
path: root/arch-modules-load.service
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2012-07-27 23:32:35 (GMT)
committerTom Gundersen <teg@jklm.no>2012-07-28 00:35:48 (GMT)
commitb0b1d8fb0f933b37e5878541e18034614eed47fb (patch)
treec114a209c2c5dcdd9fa716f6d79fb14874a406d1 /arch-modules-load.service
parent22c3b22688f451fb24f9075712fce732e9057a10 (diff)
downloadinitscripts-b0b1d8fb0f933b37e5878541e18034614eed47fb.tar.xz
merge initscripts-systemd
This makes sure that systemd supports some initscripts API's. With this patch, systemd will: * Parse and use DAEMONS and MODULES from rc.conf * Run rc.local and rc.local.shutdown on boot and shutdown respectively Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'arch-modules-load.service')
-rw-r--r--arch-modules-load.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch-modules-load.service b/arch-modules-load.service
new file mode 100644
index 0000000..f400d48
--- /dev/null
+++ b/arch-modules-load.service
@@ -0,0 +1,10 @@
+[Unit]
+SourcePath=/etc/rc.conf
+Documentation=https://raw.github.com/falconindy/initscripts-systemd/master/README
+Description=Load modules defined in rc.conf
+DefaultDependencies=no
+Before=systemd-modules-load.service
+
+[Service]
+ExecStart=/usr/lib/systemd/arch-modules-load
+Type=oneshot