mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-22 15:40:23 +00:00
11 lines
225 B
Go
11 lines
225 B
Go
// +build linux
|
|
|
|
package config
|
|
|
|
import "github.com/spf13/viper"
|
|
|
|
// linux specific config search path
|
|
func setViperAdditionalConfigPaths() {
|
|
viper.AddConfigPath("$HOME/.config/sftpgo")
|
|
viper.AddConfigPath("/etc/sftpgo")
|
|
}
|