From c1ee591dc128bb7b3fa33347ab5bb0b77e2b72b9 Mon Sep 17 00:00:00 2001 From: Gerhard <info@tinned-software.net> Date: Mon, 8 Jun 2015 15:39:27 +0200 Subject: [PATCH] Added SysVInitScript header chkconfig and LSB --- ssh-tunnel-manager.sh | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/ssh-tunnel-manager.sh b/ssh-tunnel-manager.sh index b0981d8..e9643d5 100755 --- a/ssh-tunnel-manager.sh +++ b/ssh-tunnel-manager.sh @@ -2,7 +2,7 @@ # # @author Gerhard Steinbeis (info [at] tinned-software [dot] net) # @copyright Copyright (c) 2013 -version=0.6.5 +version=0.6.6 # @license http://opensource.org/licenses/GPL-3.0 GNU General Public License, version 3 # @package net # @@ -11,6 +11,25 @@ version=0.6.5 # the ssh-tunnel-manager.conf in the same directory as the script itself. # +# ssh-tunnel-manager Start up the ssh-tunnel-manager manager +# +# chkconfig: 2345 60 20 +# description: SSH-Tunnel-Manager to manager multiple SSH connections to different servers. +# +# config: /etc/ssh-tunnel-manager.conf + +### BEGIN INIT INFO +# Provides: ssh-tunnel-manager +# Required-Start: $network sshd +# Required-Stop: $network sshd +# Should-Start: +# Should-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Start up the ssh-tunnel-manager manager +# Description: SSH-Tunnel-Manager to manager multiple SSH connections to different servers. +### END INIT INFO + # # Define names for the tunnel to identify them. The list needs to be configured # in the same order as the tunnel config in the TUNELS list. -- GitLab