diff --git a/src/freedombone-app-vpn b/src/freedombone-app-vpn index b32e4c36..460072e6 100755 --- a/src/freedombone-app-vpn +++ b/src/freedombone-app-vpn @@ -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 {