|
@@ -129,6 +129,7 @@ ynh_print_info "Configuring VPN client services..."
|
|
|
yunohost service add $service_name --description "Tunnels the internet traffic through a VPN" --need_lock --test_status="systemctl is-active openvpn@client.service" --log "/var/log/ynh-vpnclient.log"
|
|
|
|
|
|
ynh_use_logrotate --logfile="/var/log/ynh-vpnclient.log"
|
|
|
+ynh_use_logrotate --logfile="/var/log/openvpn-client.log"
|
|
|
|
|
|
# checker service (this service was previously integrated in yunohost but we do not do this anymore)
|
|
|
if ynh_exec_warn_less yunohost service status $service_checker_name >/dev/null
|