Revise openvpn log output method

This commit is contained in:
billz 2021-06-06 20:51:13 +01:00
parent 1647aa3c73
commit 1b7074f693
1 changed files with 1 additions and 1 deletions

View File

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