update-systemd-resolved icon indicating copy to clipboard operation
update-systemd-resolved copied to clipboard

Duplicate log output when running openvpn with systemd service

Open VannTen opened this issue 5 years ago • 0 comments

Hi,

First, thanks for you script, it works great :)

I just noticed a little inconvenience, which happens to me when running openvpn through the [email protected] which is shipped with openvpn.

Jun 11 16:40:29 hostname update-systemd-resolved[116319]: Link 'tun0' coming up
Jun 11 16:40:29 hostname openvpn[116319]: <14>Jun 11 16:40:29 update-systemd-resolved: Link 'tun0' coming up

As you can see the action logged by the script are duplicated. I think it can be avoided by removing the -s option to logger in the log() function, but I guess that would break logging when not runned that way ? Maybe there is way to check ?

VannTen avatar Jun 11 '20 17:06 VannTen