On Mon, 17 Jan 2022 23:15:02 +0000, tincantech via Openvpn-users
<openvpn-users@lists.sourceforge.net> wrote:

>On Monday, January 17th, 2022 at 23:08, tincantech <tincant...@protonmail.com> 
>wrote:
>
>> You could also stop and disable openvpn.service
>
>Looks like you did that :-)

I have not yet done it because I do not want to destroy a running system...

I had this in my list of commands:

1) sudo systemctl stop openvpn
2) Edit /etc/default/openvpn and comment out the AUTOSTART= line

How would I disable the service rather than removing its arguments?
According to my old notes I also have to do this after I modify the
/etc/default/openvpn file:

sudo systemctl daemon-reload

But unlike what happened back a few years when I tried this, now it did not exit
so I had to use Ctl-C to get a prompt back.

Is this what you mean I should do instead:

1b) sudo systemctl disable openvpn.service

>
>>
>> If you simply use `systemctl` then all systemd "panorama" is listed for you.

I tested this:

$ systemctl | grep openvpn
  openvpn.service               loaded active exited    OpenVPN service
  openvpn@server.service        loaded active running   OpenVPN connection to
server
  openvpn@serverlocal.service   loaded active running   OpenVPN connection to
serverlocal
  system-openvpn.slice          loaded active active    system-openvpn.slice


>
>Added a note to the wiki.
>

*Where* in the wiki can I find this?


-- 
Bo Berglund
Developer in Sweden



_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to