Skip to content

Instantly share code, notes, and snippets.

@qingshan
qingshan / autosshd
Created January 7, 2012 02:43
autosshd is the autossh daemon.
#!/bin/bash
#
# autosshd This script starts and stops the autossh daemon
#
# chkconfig: 2345 95 15
# processname: autosshd
# description: autosshd is the autossh daemon.
# Source function library.
. /etc/rc.d/init.d/functions