summarylogtreecommitdiffstats
path: root/change-default-config-path.patch
blob: 63f2271e2317767c4e00e999f5be05916fa4f0d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/main.rs b/src/main.rs
index 56c21d5..4b758bc 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -244,7 +244,7 @@ fn run() -> Result<(), ErrorCode> {
         }
         Config::new(parse_config(&f.unwrap()).ok())
     } else {
-        let default = "/usr/local/etc/illuminanced.toml";
+        let default = "/etc/illuminanced.toml";
         let f = read_file_to_string(&default);
         if let Err(ref e) = f {
             println!("Cannot open config file `{}`: {}, ignore", default, e);