diff options
| author | Simon Rettberg | 2015-12-04 13:11:09 +0100 |
|---|---|---|
| committer | Simon Rettberg | 2015-12-04 13:11:09 +0100 |
| commit | 60c39caafca9a8cea1ee59ff13c492366099802b (patch) | |
| tree | 73be65cd1301244fb2fc1d92bd579b07578b7023 /remote/modules/hardware-stats/data/etc/systemd | |
| parent | [pam] Add .d directory support to pam_script_ses_open/close (diff) | |
| download | tm-scripts-60c39caafca9a8cea1ee59ff13c492366099802b.tar.gz tm-scripts-60c39caafca9a8cea1ee59ff13c492366099802b.tar.xz tm-scripts-60c39caafca9a8cea1ee59ff13c492366099802b.zip | |
[hardware-stats] New module
Diffstat (limited to 'remote/modules/hardware-stats/data/etc/systemd')
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 |
