summaryrefslogtreecommitdiffstats
path: root/server/modules/hdd-boot/etc/systemd/system/hdd_boot.service
diff options
context:
space:
mode:
Diffstat (limited to 'server/modules/hdd-boot/etc/systemd/system/hdd_boot.service')
-rw-r--r--server/modules/hdd-boot/etc/systemd/system/hdd_boot.service11
1 files changed, 11 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