Icinga/icinga-packaging

icingadb: delivered systemd service is missing postgres dependency

EmmaTinten opened this issue · 2 comments

The packaged version of the systemd.unit does not depend on postgresql. If you are using postgresql, redis will fail and not start up on boot.

Delivered:

# /lib/systemd/system/icingadb.service
[Unit]
Description=Icinga DB
After=syslog.target network-online.target icingadb-redis.service mariadb.service

[Service]
Type=notify
ExecStart=/usr/sbin/icingadb --config /etc/icingadb/config.yml
User=icingadb
Group=icingadb

[Install]
WantedBy=multi-user.target

Please add "postgresql.service" on Debian which will fix the problem.

It's also missing in the RPM packages.

This has been fixed with release 1.1.0, so I'll close this.