sftpgo-mirror/config/config_linux.go

13 lines
242 B
Go
Raw Normal View History

//go:build linux
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")
}