summaryrefslogtreecommitdiffstats
path: root/server/modules/hdd-boot/etc/systemd/system
diff options
context:
space:
mode:
authorJonathan Bauer2015-04-07 17:43:23 +0200
committerJonathan Bauer2015-04-07 17:43:23 +0200
commitb1074927e6848d7370c6d4a1b11b7149d6660a77 (patch)
tree89dfef802d48522d297632cb77fe13825707ff3e /server/modules/hdd-boot/etc/systemd/system
parent[pam-common-share] rudimentary nfs-support for common share (diff)
parent[hdd-boot] michi's werk (diff)
downloadtm-scripts-mergetest.tar.gz
tm-scripts-mergetest.tar.xz
tm-scripts-mergetest.zip
Merge remote-tracking branch 'remotes/origin/test' into mergetestmergetest
Diffstat (limited to 'server/modules/hdd-boot/etc/systemd/system')
-rw-r--r--server/modules/hdd-boot/etc/systemd/system/hdd_boot.service11
l---------server/modules/hdd-boot/etc/systemd/system/multi-user.target.wants/hdd_boot.service1
2 files changed, 12 insertions, 0 deletions
diff --git a/server/modules/hdd-boot/etc/systemd/system/hdd_boot.service b/server/modules/hdd-boot/etc/systemd/system/hdd_boot.service
new file mode 100644
index 00000000..ed4fdcb7
--- /dev/null
+++ b/server/modules/hdd-boot/etc/systemd/system/hdd_boot.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Runs the OpenSLX Hdd-boot Tool
+After=tmp.target
+Wants=tmp.target
+DefaultDependencies=no
+ConditionPathIsMountPoint=/boot
+
+[Service]
+Type=oneshot
+ExecStart=/opt/openslx/scripts/systemd-hdd_boot
+RemainAfterExit=yes
diff --git a/server/modules/hdd-boot/etc/systemd/system/multi-user.target.wants/hdd_boot.service b/server/modules/hdd-boot/etc/systemd/system/multi-user.target.wants/hdd_boot.service
new file mode 120000
index 00000000..515407f5
--- /dev/null
+++ b/server/modules/hdd-boot/etc/systemd/system/multi-user.target.wants/hdd_boot.service
@@ -0,0 +1 @@
+../hdd_boot.service \ No newline at end of file