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 _______________________________________________ Openvpn-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-users
