diff options
author | Jonathan Steel <jsteel@archlinux.org> | 2017-06-13 14:15:42 +0100 |
---|---|---|
committer | Jonathan Steel <jsteel@archlinux.org> | 2017-06-13 14:15:42 +0100 |
commit | 746bfc7e2fd0c246b880b529d02af264a1744e1d (patch) | |
tree | 18e33deefa169caaf413c53cd003031b21471c26 /naemon.service | |
parent | 679640f802129af0a8e9a4b6f9f31ccfd86fa2f9 (diff) | |
download | AUR-746bfc7e2fd0c246b880b529d02af264a1744e1d.tar.gz AUR-746bfc7e2fd0c246b880b529d02af264a1744e1d.tar.zst AUR-746bfc7e2fd0c246b880b529d02af264a1744e1d.zip |
gcc7 fix and run with --daemon
journalctl was very noisy without --daemon
Diffstat (limited to 'naemon.service')
-rw-r--r-- | naemon.service | 6 |
1 files changed, 3 insertions, 3 deletions
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 | |||
4 | After=network.target | 4 | After=network.target |
5 | 5 | ||
6 | [Service] | 6 | [Service] |
7 | Type=simple | 7 | Type=forking |
8 | PIDFile=/run/naemon.pid | 8 | PIDFile=/run/naemon/naemon.pid |
9 | ExecStartPre=/usr/bin/naemon -vp /etc/naemon/naemon.cfg | 9 | ExecStartPre=/usr/bin/naemon -vp /etc/naemon/naemon.cfg |
10 | ExecStart=/usr/bin/naemon /etc/naemon/naemon.cfg | 10 | ExecStart=/usr/bin/naemon --daemon /etc/naemon/naemon.cfg |
11 | ExecReload=/bin/kill -HUP $MAINPID | 11 | ExecReload=/bin/kill -HUP $MAINPID |
12 | User=naemon | 12 | User=naemon |
13 | Group=naemon | 13 | Group=naemon |