From 60c39caafca9a8cea1ee59ff13c492366099802b Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 4 Dec 2015 13:11:09 +0100 Subject: [hardware-stats] New module --- .../data/etc/systemd/system/hardware-stats.service | 11 +++++++++++ .../system/multi-user.target.wants/hardware-stats.service | 1 + 2 files changed, 12 insertions(+) create mode 100644 remote/modules/hardware-stats/data/etc/systemd/system/hardware-stats.service create mode 120000 remote/modules/hardware-stats/data/etc/systemd/system/multi-user.target.wants/hardware-stats.service (limited to 'remote/modules/hardware-stats/data/etc/systemd/system') 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 -- cgit v1.2.3-55-g7522