diff options
author | jandob | 2016-03-29 19:06:22 +0200 |
---|---|---|
committer | jandob | 2016-03-29 19:06:22 +0200 |
commit | 7a14d8932f1f4bba79ba4e7b8d5fe4129788e4ac (patch) | |
tree | 0de5de71c12e08e3783bc885fb7c30c4b0346c2b /dev-tools/exampleDracutModule/source | |
parent | add logging to file functionality (diff) | |
parent | Fix. (diff) | |
download | systemd-init-7a14d8932f1f4bba79ba4e7b8d5fe4129788e4ac.tar.gz systemd-init-7a14d8932f1f4bba79ba4e7b8d5fe4129788e4ac.tar.xz systemd-init-7a14d8932f1f4bba79ba4e7b8d5fe4129788e4ac.zip |
Merge branch 'master' of git.openslx.org:openslx-ng/systemd-init
Diffstat (limited to 'dev-tools/exampleDracutModule/source')
-rw-r--r-- | dev-tools/exampleDracutModule/source/usr/lib/systemd/system/example.service | 10 | ||||
-rw-r--r-- | dev-tools/exampleDracutModule/source/usr/lib/systemd/system/multi-user.target.wants/example.service | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/dev-tools/exampleDracutModule/source/usr/lib/systemd/system/example.service b/dev-tools/exampleDracutModule/source/usr/lib/systemd/system/example.service new file mode 100644 index 00000000..83310c1d --- /dev/null +++ b/dev-tools/exampleDracutModule/source/usr/lib/systemd/system/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' diff --git a/dev-tools/exampleDracutModule/source/usr/lib/systemd/system/multi-user.target.wants/example.service b/dev-tools/exampleDracutModule/source/usr/lib/systemd/system/multi-user.target.wants/example.service new file mode 100644 index 00000000..83310c1d --- /dev/null +++ b/dev-tools/exampleDracutModule/source/usr/lib/systemd/system/multi-user.target.wants/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' |