projects
/
bak-git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3d44b1
)
start gitweb and tunnels only without args
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 11 Mar 2011 16:18:37 +0000
(17:18 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 11 Mar 2011 16:20:05 +0000
(17:20 +0100)
klin.sh
patch
|
blob
|
history
diff --git
a/klin.sh
b/klin.sh
index
7ee7fd0
..
b4c1f9d
100755
(executable)
--- a/
klin.sh
+++ b/
klin.sh
@@
-1,4
+1,13
@@
-#!/bin/sh -x
+ #!/bin/sh -x
+
+if [ -z "$1" ] ; then
/usr/sbin/lighttpd -f gitweb/httpd.conf
+
+autossh -N -R 9001:10.60.0.92:9001 root@webgui &
+autossh -N -R 9001:10.60.0.92:9001 root@saturn.ffzg.hr &
+autossh -N asa-klin &
+
+fi
+
./bak-git-server.pl /home/dpavlin/klin/backup/ 10.60.0.92 $*