diff --git a/config.go b/config.go index 4967824..fb59300 100644 --- a/config.go +++ b/config.go @@ -526,7 +526,7 @@ func (l *LogConfig) Apply() { } // Set the log to save to the logpath. - f, err := os.OpenFile(l.Path, os.O_RDWR|os.O_CREATE, 0644) + f, err := os.OpenFile(l.Path, os.O_RDWR|os.O_CREATE|os.O_APPEND, 0644) if err != nil { log.Println("Failed to open log file: %s %v", l.Path, err) } else { diff --git a/main.go b/main.go index 762316d..a9f93b4 100644 --- a/main.go +++ b/main.go @@ -6,7 +6,7 @@ const ( serviceDisplayName = "Virtual VXLAN" serviceVendor = "com.mrgeckosmedia" serviceDescription = "Virtual VXLAN using TUN interfaces" - serviceVersion = "0.1.6" + serviceVersion = "0.1.7" defaultConfigFile = "config.yaml" )