diff options
author | pmikus <pmikus@cisco.com> | 2021-03-22 08:46:04 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2021-03-29 08:43:57 +0000 |
commit | 571108e9ccec90c3719f5336650d624b4e8e9c47 (patch) | |
tree | ae356073df85ca83156c016f0bc2ee9ad9aeec35 /resources/tools/testbed-setup/ansible/roles/jenkins_job_health_exporter/templates/jenkins-job-health-exporter.service.j2 | |
parent | ac7045fed2e1593fbbdf22113fb2983989583c7a (diff) |
Infra: Ansible sync
Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I4b1516a957447b8356949626e385b9317ed1933c
(cherry picked from commit 3402c93328d877ef09a026f5a491eabd34f8bc1e)
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/jenkins_job_health_exporter/templates/jenkins-job-health-exporter.service.j2')
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/jenkins_job_health_exporter/templates/jenkins-job-health-exporter.service.j2 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/jenkins_job_health_exporter/templates/jenkins-job-health-exporter.service.j2 b/resources/tools/testbed-setup/ansible/roles/jenkins_job_health_exporter/templates/jenkins-job-health-exporter.service.j2 new file mode 100644 index 0000000000..38073d0a8c --- /dev/null +++ b/resources/tools/testbed-setup/ansible/roles/jenkins_job_health_exporter/templates/jenkins-job-health-exporter.service.j2 @@ -0,0 +1,13 @@ +[Unit] +Description=Jenkins Job Health Exporter +Documentation=https://github.com/ayourtch/jenkins-job-health-exporter + +[Service] +Restart=always +ExecStart={{ jenkins_job_health_exporter_target_dir }}/jenkins-job-health-exporter {{ jenkins_job_health_exporter_conf_dir }}/jenkins-job-health-exporter.json +ExecReload=/bin/kill -HUP $MAINPID +TimeoutStopSec=20s +SendSIGKILL=no + +[Install] +WantedBy=multi-user.target
\ No newline at end of file |