-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

On Sunday, January 21st, 2024 at 1:42 PM, Bo Berglund <bo.bergl...@gmail.com> 
wrote:


<snip>

> I looked around and found this File:
> 
> /lib/systemd/system/openvpn-server@.service

That is the openvpn server unit file.

<snip>

> Can I edit this file and remove the item --suppress-timestamps to possibly
> enable the timestamps? And remove the machine-readable-output item in the 
> actual
> service conf file?
> Will that result in human-readable timestamps?

The recommended method is to copy the file to /etc/systemd/system.
Then rename it to openvpn-server@${YOUR_SERVER_CONF_FILE_NAME}.service
Then make your changes.

"YOUR_SERVER_CONF_FILE_NAME" does not include the .conf file extension.

Starting/stopping etc will then use the new file for that specific server and 
not
change the upstream file.  This means that your changes will not be 
over-written by
package updates.


> And why is there a --suppress-timestamps item in the
> /lib/systemd/system/openvpn-server@.service file to begin with?

Openvpn disables built-in timestamps and relies on systemd for time stamps.

Regards
tct
-- 

-----BEGIN PGP SIGNATURE-----
Version: ProtonMail

wsBzBAEBCAAnBYJlrUd4CZBPl5z2a5C4nRYhBAm8PURno41yecVVVU+XnPZr
kLidAADQNAf+PG4h+ccfa9ySVmMCjDeEq1ARf2mji+RMSCjbjDoPWpAuB9lW
JHg5RVtPp0rGihYWPAQDoWghjYnXXRCKX0C5KS56LIuBzYGI4pNrjz1vPV16
XA3UbYiIHi8m+g+Mtz5UMDrsSDLZlBuW+Hoq0c1pwxa9DdXsDZcLd2NO4POf
XHwrPZGkq2Vqa7Geigm581IsXvDSFFOXCe6IQHz1GSQJu34p98odE0zWxwsS
vOpLutzr6hTGC7Ehyzlh5s6EaBuqxl7MOAlpYnZQ1zvq/VrODdFEtka2NQ61
YVUMf5olzn0lnI6bSsP2AxLucWuMzd6Kzi0QzD4guIlY1+4Jq4f41w==
=7T+P
-----END PGP SIGNATURE-----

Attachment: publickey - tincantech@protonmail.com - 0x09BC3D44.asc
Description: application/pgp-keys

Attachment: publickey - tincantech@protonmail.com - 0x09BC3D44.asc.sig
Description: PGP signature

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

Reply via email to