bugfix for opvn status date layout
This commit is contained in:
parent
a1c0bb6b4b
commit
6d6c35fb9a
3 changed files with 4 additions and 4 deletions
4
main.go
4
main.go
|
@ -29,8 +29,8 @@ const (
|
|||
ccdArchiveFileName = "ccd.tar.gz"
|
||||
indexTxtDateLayout = "060102150405Z"
|
||||
stringDateFormat = "2006-01-02 15:04:05"
|
||||
ovpnStatusDateLayout = "Mon Jan 2 15:04:05 2006"
|
||||
version = "1.5.0-fix.1"
|
||||
ovpnStatusDateLayout = "2006-01-02 15:04:05"
|
||||
version = "1.5.1"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -49,5 +49,5 @@ fi
|
|||
|
||||
mkdir -p /etc/openvpn/ccd
|
||||
|
||||
openvpn --config /etc/openvpn/openvpn.conf --client-config-dir /etc/openvpn/ccd --port 1194 --proto tcp --management 127.0.0.1 8989
|
||||
openvpn --config /etc/openvpn/openvpn.conf --client-config-dir /etc/openvpn/ccd --port 1194 --proto tcp --management 127.0.0.1 8989 --dev tun0
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ persist-tun
|
|||
topology subnet
|
||||
#proto tcp
|
||||
#port 1194
|
||||
dev tun0
|
||||
#dev tun0
|
||||
status /tmp/openvpn-status.log
|
||||
user nobody
|
||||
group nogroup
|
||||
|
|
Loading…
Reference in a new issue