1
0
Fork 0
mirror of synced 2024-09-07 15:06:26 -04:00

bugfix for opvn status date layout

This commit is contained in:
Ilya Sosnovsky 2021-02-20 18:46:30 +03:00
parent a1c0bb6b4b
commit 6d6c35fb9a
3 changed files with 4 additions and 4 deletions

View file

@ -29,8 +29,8 @@ const (
ccdArchiveFileName = "ccd.tar.gz" ccdArchiveFileName = "ccd.tar.gz"
indexTxtDateLayout = "060102150405Z" indexTxtDateLayout = "060102150405Z"
stringDateFormat = "2006-01-02 15:04:05" stringDateFormat = "2006-01-02 15:04:05"
ovpnStatusDateLayout = "Mon Jan 2 15:04:05 2006" ovpnStatusDateLayout = "2006-01-02 15:04:05"
version = "1.5.0-fix.1" version = "1.5.1"
) )
var ( var (

View file

@ -49,5 +49,5 @@ fi
mkdir -p /etc/openvpn/ccd 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

View file

@ -16,7 +16,7 @@ persist-tun
topology subnet topology subnet
#proto tcp #proto tcp
#port 1194 #port 1194
dev tun0 #dev tun0
status /tmp/openvpn-status.log status /tmp/openvpn-status.log
user nobody user nobody
group nogroup group nogroup