summaryrefslogtreecommitdiffstats
path: root/core/modules/hardware-stats/data/etc/systemd/system/gather-hw-info.service
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/hardware-stats/data/etc/systemd/system/gather-hw-info.service')
-rw-r--r--core/modules/hardware-stats/data/etc/systemd/system/gather-hw-info.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/core/modules/hardware-stats/data/etc/systemd/system/gather-hw-info.service b/core/modules/hardware-stats/data/etc/systemd/system/gather-hw-info.service
new file mode 100644
index 00000000..4d782252
--- /dev/null
+++ b/core/modules/hardware-stats/data/etc/systemd/system/gather-hw-info.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Gather hardware information about this machine
+Wants=tmp.target
+After=tmp.target
+# Because we might mount something to /tmp/virt there, which we use for ID44 calculation
+After=run-virt-env.service
+
+[Service]
+Type=oneshot
+ExecStart=/opt/openslx/scripts/systemd-gather_hw_info
+RemainAfterExit=yes
+