Files
sftpgo/pkgs/debian/patches/config.diff
Nicola Murino 1b1745b7f7 move IP/Network lists to the data provider
this is a backward incompatible change, all previous file based IP/network
lists will not work anymore

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-02-09 09:33:33 +01:00

41 lines
1.0 KiB
Diff

Index: sftpgo/sftpgo.json
===================================================================
--- sftpgo.orig/sftpgo.json
+++ sftpgo/sftpgo.json
@@ -60,7 +60,7 @@
"domains": [],
"email": "",
"key_type": "4096",
- "certs_path": "certs",
+ "certs_path": "/var/lib/sftpgo/certs",
"ca_endpoint": "https://acme-v02.api.letsencrypt.org/directory",
"renew_days": 30,
"http01_challenge": {
@@ -187,7 +187,7 @@
},
"data_provider": {
"driver": "sqlite",
- "name": "sftpgo.db",
+ "name": "/var/lib/sftpgo/sftpgo.db",
"host": "",
"port": 0,
"username": "",
@@ -203,7 +203,7 @@
"track_quota": 2,
"delayed_quota_update": 0,
"pool_size": 0,
- "users_base_dir": "",
+ "users_base_dir": "/srv/sftpgo/data",
"actions": {
"execute_on": [],
"execute_for": [],
@@ -245,7 +245,7 @@
"port": 0,
"proto": "http"
},
- "backups_path": "backups"
+ "backups_path": "/srv/sftpgo/backups"
},
"httpd": {
"bindings": [