diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2020-10-19 15:30:11 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-10-27 23:24:47 -0400 |
commit | 3f8f47e31ec4091acf2c76663598fecf51a1e00b (patch) | |
tree | 025c0d7131f0dc51dd65568f1c2e3ca59dbb3b8e | |
parent | 28cca9a78e91adc800e079588797df4cf82a378b (diff) | |
download | meta-virtualization-3f8f47e31ec4091acf2c76663598fecf51a1e00b.tar.gz |
nagios-nsca: use /run instead of /var/run in systemd service file
/var/run has been deprecated by systemd, so use /run instead,
as suggested by systemd.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r-- | recipes-extended/nagios/nagios-nsca/nagios-nsca.service | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-extended/nagios/nagios-nsca/nagios-nsca.service b/recipes-extended/nagios/nagios-nsca/nagios-nsca.service index aa38b7f2..f6eb33ef 100644 --- a/recipes-extended/nagios/nagios-nsca/nagios-nsca.service +++ b/recipes-extended/nagios/nagios-nsca/nagios-nsca.service | |||
@@ -5,7 +5,7 @@ After=syslog.target network.target | |||
5 | [Service] | 5 | [Service] |
6 | Type=forking | 6 | Type=forking |
7 | ExecStart=/usr/bin/nsca -s -c /etc/nagios/nsca.cfg | 7 | ExecStart=/usr/bin/nsca -s -c /etc/nagios/nsca.cfg |
8 | PIDFile=/var/run/nsca.pid | 8 | PIDFile=/run/nsca.pid |
9 | TimeoutSec=60 | 9 | TimeoutSec=60 |
10 | 10 | ||
11 | [Install] | 11 | [Install] |