Skip to content
Snippets Groups Projects
Commit a1c5b313 authored by Bob Mottram's avatar Bob Mottram
Browse files

openvpn logging

parent 0359de62
No related branches found
No related tags found
No related merge requests found
......@@ -58,11 +58,13 @@ vpn_variables=(MY_EMAIL_ADDRESS
VPN_TLS_PORT)
function logging_on_vpn {
echo -n ''
sed -i 's|status .*|status /var/log/openvpn.log|g' /etc/openvpn/server.conf
systemctl restart openvpn
}
function logging_off_vpn {
echo -n ''
sed -i 's|status .*|status /dev/null|g' /etc/openvpn/server.conf
systemctl restart openvpn
}
function install_interactive_vpn {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment