diff --git a/debian/openvpn-mgt.default b/debian/openvpn-mgt.default index 373dc8b..ff30e00 100644 --- a/debian/openvpn-mgt.default +++ b/debian/openvpn-mgt.default @@ -1,5 +1,5 @@ #openvpn-mgt base config ENABLED=1 -CONFIGURATION="/etc/openvpn/vpn-mgt.conf" +CONFIGURATION="/etc/openvpn/vpn-mgt.config" OPTS="-syslog" diff --git a/main.go b/main.go index 3552fca..8266d89 100644 --- a/main.go +++ b/main.go @@ -15,7 +15,7 @@ func main() { var err error var config *uconfig.UConfig // default configuration file is /etc/openvpn/dm-mgt-server.conf - configFile := flag.String("config", "/etc/openvpn/vpn-mgt.conf", "configuration file") + configFile := flag.String("config", "/etc/openvpn/vpn-mgt.config", "configuration file") logToSyslog := flag.Bool("syslog", false, "Log to syslog") debug := flag.Bool("debug", false, "log every message received") flag.Parse()