Hi,

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

sudo systemctl list-unit-files|grep openvpn
openvpn-client@.service                                                         
   disabled        disabled
openvpn-server@.service 
.
.
sudo systemctl edit --full openvpn-server@.service
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 <bo.bergl...@gmail.com> 
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
> 
> openvpn-server@server.service
> loaded active running OpenVPN service for server
> openvpn-server@serverlocal.service
> loaded active running OpenVPN service for serverlocal
> 
> Do I do it like so:
> sudo systemctl edit openvpn-server@server.service
> 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
> Openvpn-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openvpn-users


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

Reply via email to