sftpgo-mirror/pkgs/debian/patches/config.diff
Nicola Murino 05c54614b2
back to development
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2023-05-05 19:12:50 +02:00

40 lines
1 KiB
Diff

Index: sftpgo/sftpgo.json
===================================================================
--- sftpgo.orig/sftpgo.json
+++ sftpgo/sftpgo.json
@@ -57,7 +57,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": {
@@ -186,7 +186,7 @@
},
"data_provider": {
"driver": "sqlite",
- "name": "sftpgo.db",
+ "name": "/var/lib/sftpgo/sftpgo.db",
"host": "",
"port": 0,
"username": "",
@@ -202,7 +202,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": [],
@@ -244,7 +244,7 @@
"port": 0,
"proto": "http"
},
- "backups_path": "backups"
+ "backups_path": "/srv/sftpgo/backups"
},
"httpd": {
"bindings": [