summaryrefslogtreecommitdiff
path: root/user/sane/pidfile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/sane/pidfile.patch')
-rw-r--r--user/sane/pidfile.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/sane/pidfile.patch b/user/sane/pidfile.patch
new file mode 100644
index 000000000..457755bdb
--- /dev/null
+++ b/user/sane/pidfile.patch
@@ -0,0 +1,11 @@
+--- a/frontend/saned.c
++++ b/frontend/saned.c
+@@ -224,7 +224,7 @@
+ int numchildren;
+
+ #define SANED_CONFIG_FILE "saned.conf"
+-#define SANED_PID_FILE "/var/run/saned.pid"
++#define SANED_PID_FILE "/run/saned/saned.pid"
+
+ #define SANED_SERVICE_NAME "sane-port"
+ #define SANED_SERVICE_PORT 6566