Added docker scripts

This commit is contained in:
Trial97
2020-03-09 16:16:03 +02:00
committed by Dan Christian Bogos
parent 43856d055c
commit 325e4fbec8
24 changed files with 1297 additions and 0 deletions

View File

@@ -58,6 +58,9 @@ func main() {
}
fmt.Println("Generating configuration file ...")
if err := os.Remove(*cfgPath); err != nil && !os.IsNotExist(err) {
log.Fatal(err)
}
if err := writeDefaultCofig(*cfgPath); err != nil {
log.Fatal(err)
}