sftpgo-mirror/pkgs/debian/patches/config.diff
Nicola Murino eee5d74e87
back to development
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-06-04 19:29:46 +02:00

49 lines
1.3 KiB
Diff

Index: sftpgo/sftpgo.json
===================================================================
--- sftpgo.orig/sftpgo.json
+++ sftpgo/sftpgo.json
@@ -58,7 +58,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": {
@@ -180,7 +180,7 @@
},
"data_provider": {
"driver": "sqlite",
- "name": "sftpgo.db",
+ "name": "/var/lib/sftpgo/sftpgo.db",
"host": "",
"port": 0,
"username": "",
@@ -194,7 +194,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": [],
@@ -202,7 +202,7 @@
},
"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,
@@ -232,7 +232,7 @@
"create_default_admin": false,
"naming_rules": 1,
"is_shared": 0,
- "backups_path": "backups",
+ "backups_path": "/srv/sftpgo/backups",
"auto_backup": {
"enabled": true,
"hour": "0",