[Pkg-nagios-changes] [pkg-icinga2] 01/05: Readd systemd service file
Alexander Wirt
formorer at debian.org
Wed Feb 8 12:18:49 UTC 2017
This is an automated email from the git hooks/post-receive script.
formorer pushed a commit to branch ubuntu
in repository pkg-icinga2.
commit 4b87bb3c89a6695121fbc8ebd1ba730fa52e9544
Author: Alexander Wirt <formorer at debian.org>
Date: Wed Feb 8 13:17:17 2017 +0100
Readd systemd service file
---
debian/icinga2-common.icinga2.service | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/debian/icinga2-common.icinga2.service b/debian/icinga2-common.icinga2.service
new file mode 100644
index 0000000..d06c07d
--- /dev/null
+++ b/debian/icinga2-common.icinga2.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=Icinga host/service/network monitoring system
+After=postgresql.service mariadb.service carbon-cache.service mysql.service yslog.target
+
+[Service]
+Type=simple
+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 -e ${ICINGA2_ERROR_LOG}
+ExecReload=/usr/lib/icinga2/safe-reload /usr/lib/icinga2/icinga2
+PIDFile=/run/icinga2/icinga2.pid
+
+[Install]
+WantedBy=multi-user.target
+
--
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