diff options
Diffstat (limited to 'remote/modules/hardware-stats/data/etc/systemd/system')
2 files changed, 12 insertions, 0 deletions
diff --git a/remote/modules/hardware-stats/data/etc/systemd/system/hardware-stats.service b/remote/modules/hardware-stats/data/etc/systemd/system/hardware-stats.service new file mode 100644 index 00000000..c28e75a5 --- /dev/null +++ b/remote/modules/hardware-stats/data/etc/systemd/system/hardware-stats.service @@ -0,0 +1,11 @@ +[Unit] +Description=Gather statistics about this machine and send to boot server +DefaultDependencies=no +After=tmp.target multi-user.target +Wants=tmp.target + +[Service] +Type=oneshot +ExecStart=/opt/openslx/scripts/systemd-hardware_stats +RemainAfterExit=yes + diff --git a/remote/modules/hardware-stats/data/etc/systemd/system/multi-user.target.wants/hardware-stats.service b/remote/modules/hardware-stats/data/etc/systemd/system/multi-user.target.wants/hardware-stats.service new file mode 120000 index 00000000..e463586d --- /dev/null +++ b/remote/modules/hardware-stats/data/etc/systemd/system/multi-user.target.wants/hardware-stats.service @@ -0,0 +1 @@ +../hardware-stats.service
\ No newline at end of file |
