raspap-webgui-mirror/installers/openvpnlog.sh

3 lines
99 B
Bash
Executable file

#!/bin/bash
touch /tmp/openvpn.log
journalctl -n 500 |grep "openvpn\[" | sudo tee /tmp/openvpn.log