[meta-networking] cyrus-sasl: use /run instead of /var/run for systemd service file

Submitted by Qi.Chen@windriver.com on Oct. 16, 2020, 7:36 a.m. | Patch ID: 177286

Details

Message ID 20201016073604.36461-1-Qi.Chen@windriver.com
State Accepted
Commit 5a5f7ec345c8621daa33ecb0b7072b78adcf6f70
Headers show

Commit Message

Qi.Chen@windriver.com Oct. 16, 2020, 7:36 a.m.
/var/run has been deprecated by systemd, so use /run instead,
as suggested by systemd.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 .../recipes-daemons/cyrus-sasl/cyrus-sasl/saslauthd.service     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl/saslauthd.service b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl/saslauthd.service
index 96dbae378..e63592af6 100644
--- a/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl/saslauthd.service
+++ b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl/saslauthd.service
@@ -4,7 +4,7 @@  After=syslog.target
 
 [Service]
 Type=forking
-PIDFile=@LOCALSTATEDIR@/run/saslauthd/saslauthd.pid
+PIDFile=/run/saslauthd/saslauthd.pid
 EnvironmentFile=@SYSCONFDIR@/default/saslauthd
 ExecStart=@SBINDIR@/saslauthd -m $SOCKETDIR -a $MECH $FLAGS