summaryrefslogtreecommitdiffstats
path: root/dev-tools/exampleDracutModule/example.service
diff options
context:
space:
mode:
authortorben2016-03-24 19:44:37 +0100
committertorben2016-03-24 19:44:37 +0100
commitee84e2165c2eb0d49c59a3d6faa75b195229438c (patch)
treea2ca50734079684c7e461763e266e10a831bacc4 /dev-tools/exampleDracutModule/example.service
parentImprove tar gz module. (diff)
downloadsystemd-init-ee84e2165c2eb0d49c59a3d6faa75b195229438c.tar.gz
systemd-init-ee84e2165c2eb0d49c59a3d6faa75b195229438c.tar.xz
systemd-init-ee84e2165c2eb0d49c59a3d6faa75b195229438c.zip
Fix example module.
Diffstat (limited to 'dev-tools/exampleDracutModule/example.service')
-rw-r--r--dev-tools/exampleDracutModule/example.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-tools/exampleDracutModule/example.service b/dev-tools/exampleDracutModule/example.service
new file mode 100644
index 00000000..83310c1d
--- /dev/null
+++ b/dev-tools/exampleDracutModule/example.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Simple example service
+After=dracut-pre-mount.service network.target
+DefaultDependencies=no
+
+[Service]
+Type=oneshot
+RemainAfterExit=true
+KillMode=none
+ExecStart=/usr/bin/bash -c '/usr/bin/echo test >/tmp/test-output.txt'