nagios-nsca: use /run instead of /var/run in systemd service file
PATCH 1/1 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 <[email protected]>
--- recipes-extended/nagios/nagios-nsca/nagios-nsca.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/nagios/nagios-nsca/nagios-nsca.service +1 -1
@@ -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]
Signature · 1 line
2.17.1