summaryrefslogtreecommitdiffstats
path: root/core/modules/hardware-stats/data/etc/systemd/system/hardware-report.service
diff options
context:
space:
mode:
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.service11
1 files changed, 11 insertions, 0 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
new file mode 100644
index 00000000..d4649c4a
--- /dev/null
+++ b/core/modules/hardware-stats/data/etc/systemd/system/hardware-report.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Send hardware information to boot server
+After=system-check.service hardware-stats.service
+Wants=system-check.service hardware-stats.service
+
+[Service]
+Type=oneshot
+ExecStart=/opt/openslx/scripts/systemd-hardware_report
+RemainAfterExit=yes
+ExecStop=/opt/openslx/scripts/shutdown-system_usage_update
+