summaryrefslogtreecommitdiffstats
path: root/net/hsflowd/patches/300-config_files_path.patch
blob: fe85a8eb8b0e06fe1c0c7a9476542d70334f0883 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff -Nurb a/src/Linux/hsflowd.h b/src/Linux/hsflowd.h
--- a/src/Linux/hsflowd.h	2012-03-01 18:16:09.000000000 +0100
+++ b/src/Linux/hsflowd.h	2012-03-18 18:56:58.689852282 +0100
@@ -72,9 +72,9 @@
 #define HSP_DAEMON_NAME "hsflowd"
 #define HSP_DEFAULT_PIDFILE "/var/run/hsflowd.pid"
 #define HSP_DEFAULT_CONFIGFILE "/etc/hsflowd.conf"
-#define HSP_DEFAULT_OUTPUTFILE "/etc/hsflowd.auto"
-#define HSP_DEFAULT_VMSTORE_FILE "/etc/hsflowd.data"
-#define HSP_DEFAULT_CRASH_FILE "/etc/hsflowd.crash"
+#define HSP_DEFAULT_OUTPUTFILE "/var/run/hsflowd.auto"
+#define HSP_DEFAULT_VMSTORE_FILE "/var/run/hsflowd.data"
+#define HSP_DEFAULT_CRASH_FILE "/var/run/hsflowd.crash"
 
 /* Numbering to avoid clash. See http://www.sflow.org/developers/dsindexnumbers.php */
 #define HSP_DEFAULT_PHYSICAL_DSINDEX 1