On Mon, 19 Feb 2024 11:57:43 +0000, Peter Davis via Openvpn-users
<openvpn-users@lists.sourceforge.net> wrote:

>Hi,
>Thanks again.
>Can you put the script somewhere like pastebin? I can't fix it.

I modified the script so it can be used without call argument like I have done,
then the logfile defined in the script is used, otherwise if the call in the
openvpn server's conf file is supplying a logfile path then this will be used.

Example of a conf line (again note: on a single line):

client-connect /etc/openvpn/scripts/server-events.sh
/etc/openvpn/log/server_events.log

https://pastebin.com/s76exBRc

Will expire in 7 days.


-- 
Bo Berglund
Developer in Sweden



_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to