Comment 4 for bug 251641

Revision history for this message
Thierry Carrez (ttx) wrote :

Proposed debdiff

This should cover all the cases...

service openvpn status = lists the status of all defined VPNs and...
  if AUTOSTART="all" (or AUTOSTART not defined) -> returns 0 if all defined VPNs are running
  if AUTOSTART="none" -> always returns non-zero
  if AUTOSTART="vpn1 vpn2" -> returns 0 if vpn1 and vpn2 are defined and running

service openvpn status vpn1 vpn2 = lists the status of vpn1 and vpn2 and returns 0 if vpn1 and vpn2 are running