Comments (3)
I created my own /etc/systemd/system/[email protected]
based off some guidance on the internet. This seems to work reasonably well (for me). To add a new openvpn config stored in /etc/openvpn
simply (in the case of /etc/openvpn/myvpn.conf
):
systemctl enable openvpn@myvpn
the actual contents of the file appears below
[Unit]
Description=OpenVPN connection to %i
After=network.target
[Service]
Type=forking
ExecStart=/usr/bin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --config /etc/openvpn/%i.conf
ExecReload=/bin/kill -HUP $MAINPID
RuntimeDirectory=openvpn
WorkingDirectory=/etc/openvpn
[Install]
WantedBy=multi-user.target
from distribution.
from distribution.
@omkhar, already enable systemd services on OpenVPN.
You can finde them as [email protected] and [email protected]
from distribution.
Related Issues (20)
- [PATCH qhull] qhull: package static libraries HOT 4
- add hasvk Vulkan driver for old Intel graphics HOT 1
- Rustdesk: zero configuration remote desktop solution HOT 4
- WineGUI HOT 1
- Let iranians download ISOs and use repos without using a proxy or vpn HOT 1
- Package request - IntelOne Mono HOT 2
- GPU HANG
- [PATCH tbb] tbb: Autospec creation for update from version 2019.u9 to version 2021.9.0 HOT 3
- failure to mount ntfs partition via file manager GUI (resolved) HOT 5
- Update Lutris to latest 0.5.13 HOT 2
- Proxmox 7.4-3 Xeon Gold Stuck Install Screen
- 39420: Xorg segmentation fault HOT 2
- I don't know...... HOT 33
- server iso image missing HOT 3
- SVT-AV1-lib compiled with AVX2 only HOT 2
- GDM fails to start, probably an issue with GDM/Wayland HOT 4
- 39530+ -> no USB drives HOT 12
- 39540 Docker problems HOT 5
- [BUG] SMM not supported by the Hypervisor HOT 3
- Fresh CL install doesn't boot HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from distribution.