/
config.diff
50 lines (50 loc) · 1.33 KB
/
config.diff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Index: sftpgo/sftpgo.json
===================================================================
--- sftpgo.orig/sftpgo.json
+++ sftpgo/sftpgo.json
@@ -69,7 +69,7 @@
},
"data_provider": {
"driver": "sqlite",
- "name": "sftpgo.db",
+ "name": "/var/lib/sftpgo/sftpgo.db",
"host": "",
"port": 5432,
"username": "",
@@ -80,14 +80,14 @@
"manage_users": 1,
"track_quota": 2,
"pool_size": 0,
- "users_base_dir": "",
+ "users_base_dir": "/srv/sftpgo/data",
"actions": {
"execute_on": [],
"hook": ""
},
"external_auth_hook": "",
"external_auth_scope": 0,
- "credentials_path": "credentials",
+ "credentials_path": "/var/lib/sftpgo/credentials",
"pre_login_hook": "",
"post_login_hook": "",
"post_login_scope": 0,
@@ -105,9 +105,9 @@
"httpd": {
"bind_port": 8080,
"bind_address": "127.0.0.1",
- "templates_path": "templates",
- "static_files_path": "static",
- "backups_path": "backups",
+ "templates_path": "/usr/share/sftpgo/templates",
+ "static_files_path": "/usr/share/sftpgo/static",
+ "backups_path": "/srv/sftpgo/backups",
"auth_user_file": "",
"certificate_file": "",
"certificate_key_file": ""
@@ -117,4 +117,4 @@
"ca_certificates": [],
"skip_tls_verify": false
}
-}
\ No newline at end of file
+}