aboutsummaryrefslogtreecommitdiff
path: root/services-root
diff options
context:
space:
mode:
authorNeodarZ <neodarz@neodarz.net>2018-01-31 20:34:15 +0100
committerNeodarZ <neodarz@neodarz.net>2018-01-31 20:34:15 +0100
commitc9a91dc767288c4f311ad1e8ed5116f4bbce38a3 (patch)
tree3efa27ec7d9de7238248a50fc9b0b90453799c02 /services-root
parentc1b32a4b97daa7e592c87e04e775b00ab33c8ae2 (diff)
downloaddotfiles_ascii-c9a91dc767288c4f311ad1e8ed5116f4bbce38a3.tar.xz
dotfiles_ascii-c9a91dc767288c4f311ad1e8ed5116f4bbce38a3.zip
Add vpn conf
Diffstat (limited to 'services-root')
-rw-r--r--services-root/vpn-perso.service12
-rw-r--r--services-root/vpn-pro.service12
2 files changed, 24 insertions, 0 deletions
diff --git a/services-root/vpn-perso.service b/services-root/vpn-perso.service
new file mode 100644
index 0000000..4b0c201
--- /dev/null
+++ b/services-root/vpn-perso.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=VPN pro
+After=network-pre.target
+Before=network.target netctl.service
+Wants=network.target
+
+[Service]
+RemainAfterExit=yes
+ExecStart=/usr/bin/openvpn /home/neodarz/.ovpn/neodarz-perso.ovpn
+
+[Install]
+WantedBy=multi-user.target
diff --git a/services-root/vpn-pro.service b/services-root/vpn-pro.service
new file mode 100644
index 0000000..2259f65
--- /dev/null
+++ b/services-root/vpn-pro.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=VPN pro
+After=network-pre.target
+Before=network.target netctl.service
+Wants=network.target
+
+[Service]
+RemainAfterExit=yes
+ExecStart=/usr/bin/openvpn /home/neodarz/.ovpn/neodarz-pro.ovpn
+
+[Install]
+WantedBy=multi-user.target