Icinga / icinga-packaging

Packaging documentation and issues for the official Icinga repository
https://packages.icinga.com
44 stars 15 forks source link

icingadb: delivered systemd service is missing postgres dependency #256

Closed EmmaTinten closed 2 years ago

EmmaTinten commented 2 years ago

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.

julianbrost commented 2 years ago

It's also missing in the RPM packages.

htriem commented 2 years ago

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