summaryrefslogtreecommitdiffstats
path: root/core/modules/hardware-stats/data/etc/systemd/system/gather-hw-info.service
diff options
context:
space:
mode:
authorSimon Rettberg2024-01-29 12:07:05 +0100
committerSimon Rettberg2024-01-29 12:07:05 +0100
commit22030186cad0cd9477980006feb4180b9f13b14d (patch)
treec92383576691bf83b4976f1ddac972a1a9ba9e70 /core/modules/hardware-stats/data/etc/systemd/system/gather-hw-info.service
parent[dhcpc-busybox] Remove check for non-existent var (diff)
downloadmltk-22030186cad0cd9477980006feb4180b9f13b14d.tar.gz
mltk-22030186cad0cd9477980006feb4180b9f13b14d.tar.xz
mltk-22030186cad0cd9477980006feb4180b9f13b14d.zip
Rename hardware-stats service to gather-hw-info
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
+