sftpgo-mirror/config/config_linux.go

12 lines
225 B
Go
Raw Normal View History

2019-08-08 08:01:33 +00:00
// +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")
}