mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-06 14:20:55 +03:00
57 lines
1.5 KiB
Diff
57 lines
1.5 KiB
Diff
Index: sftpgo/sftpgo.json
|
|
===================================================================
|
|
--- sftpgo.orig/sftpgo.json
|
|
+++ sftpgo/sftpgo.json
|
|
@@ -149,7 +149,7 @@
|
|
},
|
|
"data_provider": {
|
|
"driver": "sqlite",
|
|
- "name": "sftpgo.db",
|
|
+ "name": "/var/lib/sftpgo/sftpgo.db",
|
|
"host": "",
|
|
"port": 0,
|
|
"username": "",
|
|
@@ -160,7 +160,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": [],
|
|
@@ -168,7 +168,7 @@
|
|
},
|
|
"external_auth_hook": "",
|
|
"external_auth_scope": 0,
|
|
- "credentials_path": "credentials",
|
|
+ "credentials_path": "/var/lib/sftpgo/credentials",
|
|
"prefer_database_credentials": false,
|
|
"pre_login_hook": "",
|
|
"post_login_hook": "",
|
|
@@ -216,10 +216,10 @@
|
|
"web_client_integrations": []
|
|
}
|
|
],
|
|
- "templates_path": "templates",
|
|
- "static_files_path": "static",
|
|
- "openapi_path": "openapi",
|
|
- "backups_path": "backups",
|
|
+ "templates_path": "/usr/share/sftpgo/templates",
|
|
+ "static_files_path": "/usr/share/sftpgo/static",
|
|
+ "openapi_path": "/usr/share/sftpgo/openapi",
|
|
+ "backups_path": "/srv/sftpgo/backups",
|
|
"web_root": "",
|
|
"certificate_file": "",
|
|
"certificate_key_file": "",
|
|
@@ -285,7 +285,7 @@
|
|
"auth_type": 0,
|
|
"encryption": 0,
|
|
"domain": "",
|
|
- "templates_path": "templates"
|
|
+ "templates_path": "/usr/share/sftpgo/templates"
|
|
},
|
|
"plugins": []
|
|
}
|
|
\ No newline at end of file
|