Quantcast
Channel: Recent Discussions — Plex Forums
Viewing all articles
Browse latest Browse all 151235

OpenVPN at system start is not working

$
0
0

I'm trying to automatically connect to my openvpn server during system start, right after the network service come online.

I'm using the method described in /storage/.config/system.d/openvpn.service.sample

But at system start the following messages are found in the log:

XXXX RasPlex systemd[1]: [[0;1;39m[/storage/.config/system.d/openvpn.service:X] Unknown lvalue 'Requires' in section 'Service'[[0m
XXXX RasPlex systemd[1]: [[0;1;39m[/storage/.config/system.d/openvpn.service:X] Unknown lvalue 'After' in section 'Service'[[0m

The value in Requires and Afer are:

Requires=network-online.service
After=network-online.service

But when I start the openvpn service manually it starts normally and works.
systemctl start openvpn.service

Why is the openvpn service not automatically starting?


Viewing all articles
Browse latest Browse all 151235

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>