You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm wondering if it's possible to restart a service like openvpn passing an id.
Most services don't use this "from what I understand" but the openvpn service uses an id number because you can have multiple vpns and you can restart only one instance of the openvpn client to restart a specific VPN right.
From cli this is done by issueing "pluginctl -s openvpn start 1" for the first openvpn client session configured "pluginctl -s openvpn start 2" for the second etc.
start and stopping the openvpn service works fine with:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I'm wondering if it's possible to restart a service like openvpn passing an id.
Most services don't use this "from what I understand" but the openvpn service uses an id number because you can have multiple vpns and you can restart only one instance of the openvpn client to restart a specific VPN right.
From cli this is done by issueing "pluginctl -s openvpn start 1" for the first openvpn client session configured "pluginctl -s openvpn start 2" for the second etc.
start and stopping the openvpn service works fine with:
that is however equivalent to "pluginctl -s openvpn start 1"
Is it possible to use other service ids?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions