Skip to content

Instantly share code, notes, and snippets.

View qingshan's full-sized avatar

Qingshan qingshan

View GitHub Profile
@qingshan
qingshan / proxy.xinetd
Created August 6, 2013 07:21
proxy.xinetd
service proxy
{
type = UNLISTED
flags = REUSE
socket_type = stream
protocol = tcp
port = 80
wait = no
user = root
redirect = 127.0.0.1 8080
@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