From 746bfc7e2fd0c246b880b529d02af264a1744e1d Mon Sep 17 00:00:00 2001 From: Jonathan Steel Date: Tue, 13 Jun 2017 14:15:42 +0100 Subject: gcc7 fix and run with --daemon journalctl was very noisy without --daemon --- naemon.service | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'naemon.service') diff --git a/naemon.service b/naemon.service index 6b3edc8..0c3a0da 100644 --- a/naemon.service +++ b/naemon.service @@ -4,10 +4,10 @@ Documentation=http://naemon.org/documentation After=network.target [Service] -Type=simple -PIDFile=/run/naemon.pid +Type=forking +PIDFile=/run/naemon/naemon.pid ExecStartPre=/usr/bin/naemon -vp /etc/naemon/naemon.cfg -ExecStart=/usr/bin/naemon /etc/naemon/naemon.cfg +ExecStart=/usr/bin/naemon --daemon /etc/naemon/naemon.cfg ExecReload=/bin/kill -HUP $MAINPID User=naemon Group=naemon -- cgit v1.2.3