Files
mbpfan/0001-fix-pidfile-path.patch
Jochen Breuer aa195c5c6f Accepting request 1079454 from home:amanzini:branches:hardware
- update to 2.4.0:
  * Add support for alternate SMC path used with newer MacBooks, #236
  * Improved systemd integration, #250, #252, 253
  * Removed developer tests which confused users
- Added 0001-fix-pidfile-path.patch to align PID path to systemd service file

OBS-URL: https://build.opensuse.org/request/show/1079454
OBS-URL: https://build.opensuse.org/package/show/hardware/mbpfan?expand=0&rev=9
2023-04-17 09:59:08 +00:00

24 lines
633 B
Diff

From 98d68c15dd0e7ca8e410cebb3a55f872c1a189c9 Mon Sep 17 00:00:00 2001
From: Andrea Manzini <ilmanzo@gmail.com>
Date: Fri, 14 Apr 2023 08:27:20 +0200
Subject: [PATCH] Update global.h
to reflect `PIDFile=/run/mbpfan.pid` in the service file
---
src/global.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/global.h b/src/global.h
index 1552511..363d0c9 100644
--- a/src/global.h
+++ b/src/global.h
@@ -3,7 +3,7 @@
#define PROGRAM_NAME "mbpfan"
#define PROGRAM_VERSION "2.4.0"
-#define PROGRAM_PID "/var/run/mbpfan.pid"
+#define PROGRAM_PID "/run/mbpfan.pid"
extern int daemonize;
extern int verbose;