aboutsummaryrefslogtreecommitdiff
path: root/services-root
diff options
context:
space:
mode:
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