summaryrefslogtreecommitdiffstats
path: root/core/modules/hardware-stats/data/etc/systemd/system/hardware-report.service
diff options
context:
space:
mode:
authorSimon Rettberg2024-01-29 11:41:58 +0100
committerSimon Rettberg2024-01-29 11:44:37 +0100
commit2ab7082564bb4289b7b95bf1eb7b7a2196a2e615 (patch)
tree7a08215ed2011c103e0aeab5322c1dc6241e2b3f /core/modules/hardware-stats/data/etc/systemd/system/hardware-report.service
parentUTF-8 (diff)
downloadmltk-2ab7082564bb4289b7b95bf1eb7b7a2196a2e615.tar.gz
mltk-2ab7082564bb4289b7b95bf1eb7b7a2196a2e615.tar.xz
mltk-2ab7082564bb4289b7b95bf1eb7b7a2196a2e615.zip
[system-check/hardware-stats] Loosen dependencies
For some reason, system-check is ordered before hardware-report, but I can't figure out why. system-check merely generates the warnings to display on the login screen, and hardware-report sends hw data to the boot server. I don't see anything in hardware-report actually depending on anything system-check does. There are some other minor changes, like moving the generation of the json report from hardware-report to hardware-stats, and putting the according python script into a directory named hardware-stats instead of system-check, which might imply it belongs to that module which is wrong.
Diffstat (limited to 'core/modules/hardware-stats/data/etc/systemd/system/hardware-report.service')
-rw-r--r--core/modules/hardware-stats/data/etc/systemd/system/hardware-report.service5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/modules/hardware-stats/data/etc/systemd/system/hardware-report.service b/core/modules/hardware-stats/data/etc/systemd/system/hardware-report.service
index d4649c4a..1307e9e2 100644
--- a/core/modules/hardware-stats/data/etc/systemd/system/hardware-report.service
+++ b/core/modules/hardware-stats/data/etc/systemd/system/hardware-report.service
@@ -1,11 +1,10 @@
[Unit]
Description=Send hardware information to boot server
-After=system-check.service hardware-stats.service
-Wants=system-check.service hardware-stats.service
+After=hardware-stats.service
+Wants=hardware-stats.service
[Service]
Type=oneshot
ExecStart=/opt/openslx/scripts/systemd-hardware_report
RemainAfterExit=yes
ExecStop=/opt/openslx/scripts/shutdown-system_usage_update
-