39 lines
1.0 KiB
Diff
39 lines
1.0 KiB
Diff
Description: Do not use /var/run
|
|
Author: Mathieu Malaterre <malat@debian.org>
|
|
Origin: vendor
|
|
Forwarded: not-needed
|
|
|
|
--- pbbuttonsd-0.8.1a.orig/pbbuttonsd.1
|
|
+++ pbbuttonsd-0.8.1a/pbbuttonsd.1
|
|
@@ -530,7 +530,7 @@ after connecting new input devices. Scan
|
|
signal to the server:
|
|
.PP
|
|
.ad c
|
|
-kill \-HUP \`cat /var/run/pbbuttonsd.pid\`
|
|
+kill \-HUP \`cat /run/pbbuttonsd.pid\`
|
|
.PP
|
|
.ad b
|
|
Be aware that the configuration file will also be reloaded in this case.
|
|
--- pbbuttonsd-0.8.1a.orig/src/init.h
|
|
+++ pbbuttonsd-0.8.1a/src/init.h
|
|
@@ -23,7 +23,7 @@
|
|
#define ARG_QUIET 'q'
|
|
|
|
#define DEFAULT_CONFIG SYS_CONF_DIR "/pbbuttonsd.cnf"
|
|
-#define DEFAULT_PIDFILE "/var/run/" PACKAGE ".pid"
|
|
+#define DEFAULT_PIDFILE "/run/" PACKAGE ".pid"
|
|
#define MODULECOUNT 15
|
|
|
|
/**
|
|
--- pbbuttonsd-0.8.1a.orig/src/module_acpi.h
|
|
+++ pbbuttonsd-0.8.1a/src/module_acpi.h
|
|
@@ -21,7 +21,7 @@
|
|
# define PATH_ACPI "/proc/acpi"
|
|
#endif
|
|
|
|
-#define ACPID_SOCKET "/var/run/acpid.socket"
|
|
+#define ACPID_SOCKET "/run/acpid.socket"
|
|
|
|
/**
|
|
* @brief Battery data
|