Skip to content

Instantly share code, notes, and snippets.

Avatar

Qingshan qingshan

View GitHub Profile
View 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 Jan 7, 2012
autosshd is the autossh daemon.
View autosshd
#!/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