change config name
This commit is contained in:
parent
0b7ea3240d
commit
749c2fb3e4
|
@ -1,5 +1,5 @@
|
|||
#openvpn-mgt base config
|
||||
|
||||
ENABLED=1
|
||||
CONFIGURATION="/etc/openvpn/vpn-mgt.conf"
|
||||
CONFIGURATION="/etc/openvpn/vpn-mgt.config"
|
||||
OPTS="-syslog"
|
||||
|
|
2
main.go
2
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()
|
||||
|
|
Loading…
Reference in New Issue