Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
packaging
deb-icinga2
Commits
1070f136
Commit
1070f136
authored
Aug 20, 2018
by
Markus Frosch
Browse files
Migrate to included systemd unit
parent
7be559de
Changes
4
Hide whitespace changes
Inline
Side-by-side
stretch/debian/control
View file @
1070f136
...
...
@@ -12,6 +12,7 @@ Build-Depends: bash-completion,
cmake (>= 3.2.2) | pkg-config,
debhelper (>= 9),
dh-systemd (>= 1.5),
libsystemd-dev,
flex,
g++ (>= 1.96),
libboost-dev,
...
...
stretch/debian/icinga2-common.icinga2.service
deleted
100644 → 0
View file @
7be559de
[Unit]
Description
=
Icinga host/service/network monitoring system
After
=
postgresql.service mariadb.service carbon-cache.service mysql.service syslog.target network.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
stretch/debian/icinga2-common.install
View file @
1070f136
...
...
@@ -4,6 +4,6 @@ debian/tmp/etc/icinga2
debian
/
tmp
/
etc
/
logrotate
.
d
tools
/
syntax
/
nano
/
icinga2
.
nanorc
usr
/
share
/
nano
usr
/
share
/
icinga2
etc
/
sysconfig
/
icinga2
usr
/
lib
/
icinga2
usr
/
lib
/
icinga2
/
prepare
-
dirs
usr
/
lib
/
icinga2
/
safe
-
reload
usr
/
lib
/
systemd
/
system
/
icinga2
.
service
lib
/
systemd
/
system
stretch/debian/rules
View file @
1070f136
...
...
@@ -44,6 +44,7 @@ override_dh_auto_configure:
-- \
-DCMAKE_INSTALL_LOCALSTATEDIR=/var \
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
-DICINGA2_SYSCONFIGFILE=/etc/default/icinga2 \
-DICINGA2_RUNDIR=/run \
-DICINGA2_USER=nagios \
-DICINGA2_GROUP=nagios \
...
...
@@ -51,6 +52,7 @@ override_dh_auto_configure:
-DICINGA2_GIT_VERSION_INFO=false \
-DICINGA2_PLUGINDIR=/usr/lib/nagios/plugins \
-DICINGA2_WITH_STUDIO=true \
-DUSE_SYSTEMD=ON \
$(UNITY_BUILD) \
$(LTO_BUILD)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment