File: Move-PIDFile-to-run-mbpfan.pid.patch

package info (click to toggle)
mbpfan 2.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 344 kB
  • sloc: ansic: 1,879; sh: 144; makefile: 70
file content (21 lines) | stat: -rw-r--r-- 519 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Chow Loong Jin <hyperair@debian.org>
Date: Mon, 25 May 2020 13:59:25 +0800
Subject: Move PIDFile to /run/mbpfan.pid

---
 mbpfan.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mbpfan.service b/mbpfan.service
index 5bd1616..c81cdfe 100644
--- a/mbpfan.service
+++ b/mbpfan.service
@@ -6,7 +6,7 @@ After=sysinit.target
 Type=simple
 ExecStart=/usr/sbin/mbpfan -f
 ExecReload=/usr/bin/kill -HUP $MAINPID
-PIDFile=/var/run/mbpfan.pid
+PIDFile=/run/mbpfan.pid
 Restart=always
 
 [Install]