Skip to content

Commit

Permalink
Add network.target to unit file
Browse files Browse the repository at this point in the history
Icinga2 fails with 'Cannot bind TCP socket for host',
if other services requiring network.target are not installed.

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>

fixes #10968
  • Loading branch information
leeclemens authored and Crunsher committed Jan 14, 2016
1 parent a9d09e4 commit 984eaf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/initsystem/icinga2.service.cmake
@@ -1,6 +1,6 @@
[Unit]
Description=Icinga host/service/network monitoring system
After=syslog.target postgresql.service mariadb.service carbon-cache.service
After=syslog.target network.target postgresql.service mariadb.service carbon-cache.service

[Service]
Type=forking
Expand Down

0 comments on commit 984eaf5

Please sign in to comment.