change config name

This commit is contained in:
Xavier Henner 2019-08-17 11:35:04 +02:00
parent 0b7ea3240d
commit 749c2fb3e4
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#openvpn-mgt base config
ENABLED=1
CONFIGURATION="/etc/openvpn/vpn-mgt.conf"
CONFIGURATION="/etc/openvpn/vpn-mgt.config"
OPTS="-syslog"

View File

@ -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()