summaryrefslogtreecommitdiffstats
path: root/core/modules/hardware-stats
diff options
context:
space:
mode:
authorSimon Rettberg2022-05-04 19:59:03 +0200
committerSimon Rettberg2022-05-04 19:59:03 +0200
commit3d05fd48eb693db7187717e294c653e3b43bae43 (patch)
treef94474081f2b86be63cd7165622c06e32e9d2e20 /core/modules/hardware-stats
parent[docker-ce] Install docker-compose (diff)
downloadmltk-3d05fd48eb693db7187717e294c653e3b43bae43.tar.gz
mltk-3d05fd48eb693db7187717e294c653e3b43bae43.tar.xz
mltk-3d05fd48eb693db7187717e294c653e3b43bae43.zip
[hardware-stats] Fix ordering: Wait for run-virt-env
Diffstat (limited to 'core/modules/hardware-stats')
-rw-r--r--core/modules/hardware-stats/data/etc/systemd/system/hardware-stats.service5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/modules/hardware-stats/data/etc/systemd/system/hardware-stats.service b/core/modules/hardware-stats/data/etc/systemd/system/hardware-stats.service
index 87a43f46..908c0d84 100644
--- a/core/modules/hardware-stats/data/etc/systemd/system/hardware-stats.service
+++ b/core/modules/hardware-stats/data/etc/systemd/system/hardware-stats.service
@@ -1,7 +1,10 @@
[Unit]
Description=Gather hardware information about this machine
-After=tmp.target
Wants=tmp.target system-check.service
+After=tmp.target
+# Because we might mount something to /tmp/virt there, which we use for ID44 calculation
+After=run-virt-env.service
+# This one needs the data we gather
Before=system-check.service
[Service]