Remove extra references to config file
This commit is contained in:
parent
3fd5f6c2c5
commit
5ef1596d65
@ -27,9 +27,6 @@ var WebServerIP = "0.0.0.0"
|
|||||||
// InternalHLSListenerPort is the port for HLS writes that is used for this execution of the service.
|
// InternalHLSListenerPort is the port for HLS writes that is used for this execution of the service.
|
||||||
var InternalHLSListenerPort = "8927"
|
var InternalHLSListenerPort = "8927"
|
||||||
|
|
||||||
// ConfigFilePath is the path to the config file for migration.
|
|
||||||
var ConfigFilePath = "config.yaml"
|
|
||||||
|
|
||||||
// GitCommit is an optional commit this build was made from.
|
// GitCommit is an optional commit this build was made from.
|
||||||
var GitCommit = ""
|
var GitCommit = ""
|
||||||
|
|
||||||
|
2
main.go
2
main.go
@ -33,7 +33,6 @@ func main() {
|
|||||||
// Enable bundling of admin assets
|
// Enable bundling of admin assets
|
||||||
_ = pkger.Include("/admin")
|
_ = pkger.Include("/admin")
|
||||||
|
|
||||||
configFile := flag.String("configFile", "config.yaml", "Config file path to migrate to the new database")
|
|
||||||
dbFile := flag.String("database", "", "Path to the database file.")
|
dbFile := flag.String("database", "", "Path to the database file.")
|
||||||
logDirectory := flag.String("logdir", "", "Directory where logs will be written to")
|
logDirectory := flag.String("logdir", "", "Directory where logs will be written to")
|
||||||
enableDebugOptions := flag.Bool("enableDebugFeatures", false, "Enable additional debugging options.")
|
enableDebugOptions := flag.Bool("enableDebugFeatures", false, "Enable additional debugging options.")
|
||||||
@ -46,7 +45,6 @@ func main() {
|
|||||||
|
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
config.ConfigFilePath = *configFile
|
|
||||||
config.VersionNumber = BuildVersion
|
config.VersionNumber = BuildVersion
|
||||||
if GitCommit != "" {
|
if GitCommit != "" {
|
||||||
config.GitCommit = GitCommit
|
config.GitCommit = GitCommit
|
||||||
|
Loading…
Reference in New Issue
Block a user