Hi Guys,
if i start openvpn like
openvpn --config /some/path/somefileconfig --daemon
it's work nice (i have user/password stored etc)
so, if i want to stop connection i must kill the process.. there is a way to say to openvpn in daemon mode to graceful disconnect?
ty
OpenVPN in deamon mode - How to graceful disconnect?
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 2
- Joined: Wed Feb 01, 2017 7:56 am
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: OpenVPN in deamon mode - How to graceful disconnect?
Simply:
$ kill -15 pid
$ kill -15 pid
-
- OpenVpn Newbie
- Posts: 2
- Joined: Wed Feb 01, 2017 7:56 am
Re: OpenVPN in deamon mode - How to graceful disconnect?
ty manTinCanTech wrote:Simply:
$ kill -15 pid
another question.. how i can say to openvpn in deamon mode to log me te output in some file?