diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 12:34:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 12:34:55 +0000 |
commit | 58306b0f7e29c41c00ab7bbd99d7686299f1de77 (patch) | |
tree | b737b9d2d0a29c485e78c545d5434f13d923c91e /debian/icinga2-bin.icinga2.service | |
parent | Adding upstream version 2.13.6. (diff) | |
download | icinga2-debian/2.13.6-2.tar.xz icinga2-debian/2.13.6-2.zip |
Adding debian version 2.13.6-2.debian/2.13.6-2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/icinga2-bin.icinga2.service')
-rw-r--r-- | debian/icinga2-bin.icinga2.service | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/icinga2-bin.icinga2.service b/debian/icinga2-bin.icinga2.service new file mode 100644 index 0000000..94d8ea3 --- /dev/null +++ b/debian/icinga2-bin.icinga2.service @@ -0,0 +1,21 @@ +[Unit] +Description=Icinga host/service/network monitoring system +Documentation=https://icinga.com/docs/icinga2/latest/ +After=network-online.target postgresql.service mariadb.service carbon-cache.service carbon-relay.service + +[Service] +Type=notify +NotifyAccess=all +UMask=0007 +EnvironmentFile=/usr/lib/icinga2/icinga2 +EnvironmentFile=/etc/default/icinga2 +ExecStartPre=/usr/lib/icinga2/prepare-dirs /usr/lib/icinga2/icinga2 +ExecStart=/usr/sbin/icinga2 daemon --close-stdio -e ${ICINGA2_ERROR_LOG} +ExecReload=/usr/lib/icinga2/safe-reload /usr/lib/icinga2/icinga2 +TimeoutStartSec=30m +KillMode=mixed +PIDFile=/run/icinga2/icinga2.pid + +[Install] +WantedBy=multi-user.target + |