try to automatically find shared data dirs in system-wide paths

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino
2022-05-05 11:27:19 +02:00
parent 61947e67ae
commit 80da2dc722
16 changed files with 63 additions and 53 deletions

View File

@@ -74,10 +74,9 @@ Open the SFTPGo configuration file, search for the `httpd` section and change it
"render_openapi": true
}
],
"templates_path": "/usr/share/sftpgo/templates",
"static_files_path": "/usr/share/sftpgo/static",
"backups_path": "/srv/sftpgo/backups",
"openapi_path": "/srv/sftpgo/openapi",
"templates_path": "templates",
"static_files_path": "static",
"openapi_path": "openapi",
"web_root": "",
"certificate_file": "/etc/sftpgo/certs/sftpgo.com.crt",
"certificate_key_file": "/etc/sftpgo/certs/sftpgo.com.key",