Sorry, still getting the same error after doing that. (Job for nagios.service failed because a timeout was exceeded...) and after typing "systemctl status nagios.service" I get the same than what's said before (Failed to start LSB: start and stop Nagios monitoring server.)jolson wrote:You need to make a script in the following directory:
/etc/systemd/system/
For example, you might first use vim to create the file:Insert the following text into that service:Code: Select all
vim /etc/systemd/system/nagios.serviceOnce generated, you should be capable of calling it via systemctl:Code: Select all
[Unit] Description=Nagios Core Monitoring Daemon After=network.target [Service] User=nagios Group=nagios Type=forking ExecStart=/usr/lib/systemd/scripts/nagios start ExecStop=/usr/lib/systemd/scripts/nagios stop ExecReload=/usr/lib/systemd/scripts/nagios reload [Install] WantedBy=multi-user.targetCode: Select all
systemctl stop nagiosCode: Select all
systemctl start nagios
I'm using Fedora 23. Any other suggestion will be highly appreciated.
Thanks in advance.