mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
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>
This commit is contained in:
parent
28cca9a78e
commit
3f8f47e31e
|
@ -5,7 +5,7 @@ After=syslog.target network.target
|
|||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/bin/nsca -s -c /etc/nagios/nsca.cfg
|
||||
PIDFile=/var/run/nsca.pid
|
||||
PIDFile=/run/nsca.pid
|
||||
TimeoutSec=60
|
||||
|
||||
[Install]
|
||||
|
|
Loading…
Reference in New Issue
Block a user