[Pkg-nagios-changes] [pkg-icinga2] 03/10: Improve systemd unit file
Alexander Wirt
formorer at debian.org
Sat Aug 5 06:40:36 UTC 2017
This is an automated email from the git hooks/post-receive script.
formorer pushed a commit to branch debmon-jessie
in repository pkg-icinga2.
commit 8861bd7b9e7e8f7496dfa073b37f6d5225553925
Author: Alexander Wirt <formorer at debian.org>
Date: Wed Aug 2 21:53:26 2017 +0200
Improve systemd unit file
---
debian/icinga2-common.icinga2.service | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/icinga2-common.icinga2.service b/debian/icinga2-common.icinga2.service
index 5da35d7..7904008 100644
--- a/debian/icinga2-common.icinga2.service
+++ b/debian/icinga2-common.icinga2.service
@@ -1,6 +1,7 @@
[Unit]
Description=Icinga host/service/network monitoring system
-After=postgresql.service mariadb.service carbon-cache.service mysql.service syslog.target network.target
+After=syslog.target network-online.target postgresql.service mariadb.service
+carbon-cache.service carbon-relay.service
[Service]
Type=simple
@@ -10,6 +11,7 @@ EnvironmentFile=/etc/default/icinga2
ExecStartPre=/usr/lib/icinga2/prepare-dirs /usr/lib/icinga2/icinga2
ExecStart=/usr/sbin/icinga2 daemon -e ${ICINGA2_ERROR_LOG}
ExecReload=/usr/lib/icinga2/safe-reload /usr/lib/icinga2/icinga2
+TimeoutStartSec=30m
PIDFile=/run/icinga2/icinga2.pid
[Install]
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-icinga2.git
More information about the Pkg-nagios-changes
mailing list