1From b5cb6166dbfa57d1d94b19d4a098991a817f68f5 Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Thu, 15 Oct 2020 10:02:17 +0800
4Subject: [PATCH] wd_keepalive.service: use /run instead of /var/run
5
6/var/run is deprecated by systemd, use /run instead.
7
8Upstream-Status: Pending
9
10Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
11---
12 debian/wd_keepalive.service | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/debian/wd_keepalive.service b/debian/wd_keepalive.service
16index 7f8b1dc..0f2a153 100644
17--- a/debian/wd_keepalive.service
18+++ b/debian/wd_keepalive.service
19@@ -7,7 +7,7 @@ Type=forking
20 EnvironmentFile=/etc/default/watchdog
21 ExecStartPre=/bin/sh -c '[ -z "${watchdog_module}" ] || [ "${watchdog_module}" = "none" ] || /sbin/modprobe $watchdog_module'
22 ExecStart=/usr/sbin/wd_keepalive $watchdog_options
23-PIDFile=/var/run/wd_keepalive.pid
24+PIDFile=/run/wd_keepalive.pid
25
26 [Install]
27 WantedBy=multi-user.target
28--
292.17.1
30
31