From dc6feb0bd02203f3123ac4a2c529df141deee904 Mon Sep 17 00:00:00 2001 From: Erik Johnson Date: Sun, 8 Jan 2017 14:32:59 -0600 Subject: [PATCH] Update OpenVPN module docstring to reflect changes in 2.4 --- i3pystatus/openvpn.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/i3pystatus/openvpn.py b/i3pystatus/openvpn.py index 830ef28..a6f6d98 100644 --- a/i3pystatus/openvpn.py +++ b/i3pystatus/openvpn.py @@ -7,7 +7,14 @@ __author__ = 'facetoe' class OpenVPN(IntervalModule): """ Monitor OpenVPN connections. - Currently only supports systems that use Systemd. + + .. note:: + This module currently only supports systemd. Additionally, as of + OpenVPN 2.4 the unit names have changed, as the OpenVPN server and + client now have distinct unit files (``openvpn-server@.service`` and + ``openvpn-client@.service``, respectively). Those who have updated to + OpenVPN 2.4 will need to manually set the ``status_command``, + ``vpn_up_command``, and ``vpn_down_command``. Formatters: