diff options
author | torben | 2016-03-29 17:40:34 +0200 |
---|---|---|
committer | torben | 2016-03-29 17:40:34 +0200 |
commit | a0ee9010a3ca37d40b546be7e8271f96f7baa130 (patch) | |
tree | a2f19590e20dff861d965409222c48f8e8d1daa6 /dev-tools | |
parent | Update dracut version. Fix ip append. (diff) | |
download | systemd-init-a0ee9010a3ca37d40b546be7e8271f96f7baa130.tar.gz systemd-init-a0ee9010a3ca37d40b546be7e8271f96f7baa130.tar.xz systemd-init-a0ee9010a3ca37d40b546be7e8271f96f7baa130.zip |
Fix.
Diffstat (limited to 'dev-tools')
-rwxr-xr-x | dev-tools/exampleDracutModule/module-setup.sh | 2 | ||||
-rw-r--r-- | dev-tools/exampleDracutModule/source/usr/lib/systemd/system/example.service (renamed from dev-tools/exampleDracutModule/example.service) | 0 | ||||
-rw-r--r-- | dev-tools/exampleDracutModule/source/usr/lib/systemd/system/multi-user.target.wants/example.service | 10 |
3 files changed, 11 insertions, 1 deletions
diff --git a/dev-tools/exampleDracutModule/module-setup.sh b/dev-tools/exampleDracutModule/module-setup.sh index af9bda6c..8a7d0e07 100755 --- a/dev-tools/exampleDracutModule/module-setup.sh +++ b/dev-tools/exampleDracutModule/module-setup.sh @@ -41,5 +41,5 @@ install() { `install` ' inst_hook pre-pivot 00 "$moddir/apply-package.sh" - inst_multiple tar + inst_multiple tar wget } diff --git a/dev-tools/exampleDracutModule/example.service b/dev-tools/exampleDracutModule/source/usr/lib/systemd/system/example.service index 83310c1d..83310c1d 100644 --- a/dev-tools/exampleDracutModule/example.service +++ b/dev-tools/exampleDracutModule/source/usr/lib/systemd/system/example.service 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' |