From 7f68c86d93d5f69d775bceb3941b3a3b46672eb1 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 17 Mar 2017 14:49:18 +0100 Subject: Move VPN packages into net-vpn/ --- net-vpn/peervpn/files/peervpn.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 net-vpn/peervpn/files/peervpn.service (limited to 'net-vpn/peervpn/files/peervpn.service') diff --git a/net-vpn/peervpn/files/peervpn.service b/net-vpn/peervpn/files/peervpn.service new file mode 100644 index 000000000000..13c5310f517b --- /dev/null +++ b/net-vpn/peervpn/files/peervpn.service @@ -0,0 +1,12 @@ +[Unit] +Description=peervpn server +Requires=network-online.target +After=network-online.target + +[Service] +Environment=PEERVPN_OPTS="/etc/peervpn/peervpn.conf" +ExecStart=/usr/sbin/peervpn $PEERVPN_OPTS +Restart=on-failure + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3-65-gdbad