예제 #1
0
파일: config.go 프로젝트: anchor/orchestra
func init() {
	configFile.Add("x509 certificate", configureit.NewStringOption("/etc/orchestra/player_crt.pem"))
	configFile.Add("x509 private key", configureit.NewStringOption("/etc/orchestra/player_key.pem"))
	configFile.Add("ca certificates", configureit.NewPathListOption(nil))
	configFile.Add("master", configureit.NewStringOption("conductor"))
	configFile.Add("score directory", configureit.NewStringOption("/usr/lib/orchestra/scores"))
	configFile.Add("player name", configureit.NewStringOption(""))
}
예제 #2
0
func NewScoreInfoConfig() (config *configureit.Config) {
	config = configureit.New()

	config.Add("interface", configureit.NewStringOption("env"))
	config.Add("dir", configureit.NewStringOption(""))
	config.Add("path", configureit.NewStringOption("/usr/bin:/bin"))
	config.Add("user", configureit.NewUserOption(""))

	return config
}
예제 #3
0
파일: config.go 프로젝트: anchor/orchestra
func init() {
	configFile.Add("x509 certificate", configureit.NewStringOption("/etc/orchestra/conductor_crt.pem"))
	configFile.Add("x509 private key", configureit.NewStringOption("/etc/orchestra/conductor_key.pem"))
	configFile.Add("ca certificates", configureit.NewPathListOption(nil))
	configFile.Add("bind address", configureit.NewStringOption(""))
	configFile.Add("server name", configureit.NewStringOption(""))
	configFile.Add("audience socket path", configureit.NewStringOption("/var/run/orchestra/conductor.sock"))
	configFile.Add("audience socket mode", configureit.NewStringOption("0700"))
	configFile.Add("audience socket uid", configureit.NewIntOption(-1))
	configFile.Add("audience socket gid", configureit.NewIntOption(-1))
	configFile.Add("conductor state path", configureit.NewStringOption("/var/spool/orchestra"))
	configFile.Add("player file path", configureit.NewStringOption("/etc/orchestra/players"))
}