summaryrefslogtreecommitdiffstats
path: root/core/modules/disk-partitions/data/etc/systemd/system/setup-partitions.service
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/disk-partitions/data/etc/systemd/system/setup-partitions.service')
-rw-r--r--core/modules/disk-partitions/data/etc/systemd/system/setup-partitions.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/modules/disk-partitions/data/etc/systemd/system/setup-partitions.service b/core/modules/disk-partitions/data/etc/systemd/system/setup-partitions.service
new file mode 100644
index 00000000..16e3b990
--- /dev/null
+++ b/core/modules/disk-partitions/data/etc/systemd/system/setup-partitions.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Setup local disk partitions (tmp, swap)
+After=systemd-udev-settle.service systemd-udevd.service
+Wants=tmp.target systemd-udevd.service
+Before=tmp.target
+DefaultDependencies=no
+
+[Service]
+Type=oneshot
+ExecStart=/opt/openslx/scripts/systemd-setup_partitions
+RemainAfterExit=yes