mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-25 17:10:28 +00:00
12 lines
242 B
Go
12 lines
242 B
Go
//go:build linux
|
|
// +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")
|
|
}
|