On Sat, Jun 18, 2022 at 19:03:48 +0200, Bo Berglund wrote:
> On Sat, 18 Jun 2022 13:46:09 +0000, tincantech via Openvpn-users 
> <openvpn-users@lists.sourceforge.net> wrote:
> >If you want your log-file to contain time-stamps then edit the file:
> >/lib/systemd/system/openvpn-server@.service
> >remove '--supress-timestamps'
> 
> I cannot find such a file...
> 
> bosse@ubuntuserv:/lib/systemd/system$ ls -la open*
> -rw-r--r-- 1 root root 987 Jan 19  2021 open-iscsi.service
> -rw-r--r-- 1 root root 489 Jul 12  2021 open-vm-tools.service
> -rw-r--r-- 1 root root 320 Feb 19  2019 openvpn.service
> -rw-r--r-- 1 root root 914 Feb 19  2019 openvpn@.service
> 
> And:
> 
> bosse@ubuntuserv:/lib/systemd$ find ./ -name "openvpn*"
> ./system/openvpn@.service
> ./system/openvpn.service
> ./system-generators/openvpn-generator
> 

I'm no expert on systemd's inner workings, but do have OpenVPN running
on a Ubuntu Focal/20.04 box....

What do you get if you run these commands on your system?:

  $ dpkg -L openvpn | grep systemd.*openv
  $ ls -l $(dpkg -L openvpn | grep systemd.*open)


On my system with openvpn 2.4.7-1ubuntu2.20.04.3 currently installed, I
get:

======
$ dpkg -L openvpn | grep systemd.*openv
/lib/systemd/system/openvpn-client@.service
/lib/systemd/system/openvpn-server@.service
/lib/systemd/system/openvpn.service
/lib/systemd/system/openvpn@.service
/lib/systemd/system-generators/openvpn-generator

$ ls -l $(dpkg -L openvpn | grep systemd.*open)
-rwxr-xr-x 1 root root 899 Jul 19  2021 
/lib/systemd/system-generators/openvpn-generator
-rw-r--r-- 1 root root 688 Jul 19  2021 
/lib/systemd/system/openvpn-client@.service
-rw-r--r-- 1 root root 810 Jul 19  2021 
/lib/systemd/system/openvpn-server@.service
-rw-r--r-- 1 root root 299 Jul 19  2021 /lib/systemd/system/openvpn.service
-rw-r--r-- 1 root root 946 Jul 19  2021 /lib/systemd/system/openvpn@.service
======

So it seems that my Ubuntu OpenVPN package does install the
/lib/systemd/system/openvpn-server@.service file ....  

(What does "apt-cache policy openvpn" say on your system?)


                                                                Nathan

----------------------------------------------------------------------------
Nathan Stratton Treadway  -  natha...@ontko.com  -  Mid-Atlantic region
Ray Ontko & Co.  -  Software consulting services  -   http://www.ontko.com/
 GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt   ID: 1023D/ECFB6239
 Key fingerprint = 6AD8 485E 20B9 5C71 231C  0C32 15F3 ADCD ECFB 6239


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

Reply via email to