mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 23:00:55 +03:00
config: make config file relative to the config dir
a configuration parsing error is now fatal
This commit is contained in:
@@ -124,6 +124,7 @@ Please take a look at the usage below to customize the serving parameters`,
|
||||
}
|
||||
service := service.Service{
|
||||
ConfigDir: filepath.Clean(defaultConfigDir),
|
||||
ConfigFile: defaultConfigFile,
|
||||
LogFilePath: portableLogFile,
|
||||
LogMaxSize: defaultLogMaxSize,
|
||||
LogMaxBackups: defaultLogMaxBackup,
|
||||
|
||||
Reference in New Issue
Block a user