Install openvpn logging script

This commit is contained in:
billz
2021-02-10 11:28:33 +00:00
parent 0ffe0ecd4b
commit 7798e710c1
2 changed files with 4 additions and 3 deletions

View File

@@ -1,3 +1,3 @@
#!/bin/bash
touch /tmp/openvpn.log
grep -m 50 openvpn /var/log/syslog | sudo tee /tmp/openvpn.log
grep -m 100 openvpn /var/log/syslog | sudo tee /tmp/openvpn.log