Re: Two questions about key generation for clients

André via Openvpn-users <[email protected]>
Newsgroups gmane.network.openvpn.user
Message-ID <-GkAO7P8ZmiXwGE0xGOfBUebFDxxWti6SHmthuJLjnBX-q4aaR6dPGy4UPiBgOViYSa6G_Vjj56Jz8-ZC8xcvo8wwnGxSJ7k9MPYjANlW_E=@protonmail.com>
Hi,

My unit files are in /usr/lib/systemd/system/

sudo systemctl list-unit-files|grep openvpn
[email protected]                                                            disabled        disabled
[email protected] 
.
.
sudo systemctl edit --full [email protected]
After edit and saving, a copy is created in /etc/systemd/system/ that will override the default in /usr/lib/systemd/system/





On Thursday, January 25th, 2024 at 11:11, Bo Berglund <[email protected]> wrote:

> I don't really understand this, could you expand a bit:
> 
> 1) The "sudo systemctl edit" command brings up a blank page for me, what is the
> editor commands in this window? I am used to how nano works but not how I can
> operate in this case. Tried Ctl-X and Ctl-C to get back from it...
> 
> 2) It seems one can add commands using this but how do I remove a setting I
> don't want like the one we discuss now?
> I want to NOT have the --suppress-timestamps item there!
> 
> 3) What is the correct syntax for executing the command?
> 
> On my system I have this:
> 
> systemctl | grep openvpn
> 
> [email protected]
> loaded active running OpenVPN service for server
> [email protected]
> loaded active running OpenVPN service for serverlocal
> 
> Do I do it like so:
> sudo systemctl edit [email protected]
> or like this:
> sudo systemctl edit openvpn-server@server
> 
> 4) And can I use sudo or must I switch to su first to get to the # prompt?
> 
> 
> --
> Bo Berglund
> Developer in Sweden
> 
> 
> 
> _______________________________________________
> Openvpn-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openvpn-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.