summaryrefslogtreecommitdiff
path: root/sitemodules/profiles/files/icinga2_master/icinga2-git-pull-hook.service
diff options
context:
space:
mode:
Diffstat (limited to 'sitemodules/profiles/files/icinga2_master/icinga2-git-pull-hook.service')
-rw-r--r--sitemodules/profiles/files/icinga2_master/icinga2-git-pull-hook.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/sitemodules/profiles/files/icinga2_master/icinga2-git-pull-hook.service b/sitemodules/profiles/files/icinga2_master/icinga2-git-pull-hook.service
new file mode 100644
index 0000000..a423a5f
--- /dev/null
+++ b/sitemodules/profiles/files/icinga2_master/icinga2-git-pull-hook.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Icinga2 configuration git pull hook
+Requires=icinga2.service
+
+[Service]
+ExecStart=/usr/local/sbin/icinga2-git-pull-hook
+WorkingDirectory=/etc/icinga2/conf.d
+
+[Install]
+WantedBy=multi-user.target