change config name
This commit is contained in:
parent
0b7ea3240d
commit
749c2fb3e4
|
@ -1,5 +1,5 @@
|
||||||
#openvpn-mgt base config
|
#openvpn-mgt base config
|
||||||
|
|
||||||
ENABLED=1
|
ENABLED=1
|
||||||
CONFIGURATION="/etc/openvpn/vpn-mgt.conf"
|
CONFIGURATION="/etc/openvpn/vpn-mgt.config"
|
||||||
OPTS="-syslog"
|
OPTS="-syslog"
|
||||||
|
|
2
main.go
2
main.go
|
@ -15,7 +15,7 @@ func main() {
|
||||||
var err error
|
var err error
|
||||||
var config *uconfig.UConfig
|
var config *uconfig.UConfig
|
||||||
// default configuration file is /etc/openvpn/dm-mgt-server.conf
|
// 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")
|
logToSyslog := flag.Bool("syslog", false, "Log to syslog")
|
||||||
debug := flag.Bool("debug", false, "log every message received")
|
debug := flag.Bool("debug", false, "log every message received")
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
Loading…
Reference in New Issue