[packages/openvpn] - dropped outdated .upstart files

qboosh qboosh at pld-linux.org
Thu Nov 5 18:38:20 CET 2020


commit 2e11df94a012bc49bddef66e9cf579dc78e47b3d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Nov 5 18:38:06 2020 +0100

    - dropped outdated .upstart files

 openvpn-tunnel.upstart | 13 -------------
 openvpn.upstart        | 33 ---------------------------------
 2 files changed, 46 deletions(-)
---
diff --git a/openvpn-tunnel.upstart b/openvpn-tunnel.upstart
deleted file mode 100644
index 381e5da..0000000
--- a/openvpn-tunnel.upstart
+++ /dev/null
@@ -1,13 +0,0 @@
-# openvpn tunnel daemon
-#
-# This service runs specified tunnel
-
-stop on pld.network-stopped
-
-manual
-
-#console output
-
-respawn
-instance $TUNNEL
-exec /usr/sbin/openvpn --config /etc/openvpn/$TUNNEL.conf --writepid /var/run/openvpn/$TUNNEL.pid --cd /etc/openvpn
diff --git a/openvpn.upstart b/openvpn.upstart
deleted file mode 100644
index 13abace..0000000
--- a/openvpn.upstart
+++ /dev/null
@@ -1,33 +0,0 @@
-description "Start the OpenVPN tunnels"
-
-start on pld.network-started
-stop on pld.network-stopped
-
-task
-console output
-
-script
-	[ -f /etc/sysconfig/openvpn ] && . /etc/sysconfig/openvpn
-
-	for tun in $TUNNELS; do
-		if [ ! -f "/etc/openvpn/$tun.conf" ]; then
-			# skip invalid tunnels
-			continue
-		fi
-
-		initctl start openvpn-tunnel TUNNEL=$tun >/dev/null || :
-	done
-end script
-
-pre-stop script
-	[ -f /etc/sysconfig/openvpn ] && . /etc/sysconfig/openvpn
-
-	for tun in $TUNNELS; do
-		if [ ! -f "/etc/openvpn/$tun.conf" ]; then
-			# skip invalid tunnels
-			continue
-		fi
-
-		initctl stop openvpn-tunnel TUNNEL=$tun >/dev/null || :
-	done
-end script
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openvpn.git/commitdiff/a4f057cc3d2717579db22a59bf79e7dfa2870bae



More information about the pld-cvs-commit mailing list