/[ttyrec]/jsttyplay/respawn.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /jsttyplay/respawn.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations)
Tue Feb 17 18:12:32 2009 UTC (15 years, 2 months ago) by dpavlin
File MIME type: application/x-sh
File size: 246 byte(s)
import upstream from http://encryptio.com/code/jsttyplay

1 #!/bin/sh
2
3 killall lighttpd
4 lighttpd -f lighttpd.conf || exit 1
5 if [ -e fastcgi.pid ]; then
6 kill `cat fastcgi.pid`;
7 sleep 1;
8 kill -9 `cat fastcgi.pid`;
9 rm -f fastcgi.pid;
10 fi
11 spawn-fcgi -f ./shell_server.pl -P fastcgi.pid -p 1065
12

Properties

Name Value
svn:executable

  ViewVC Help
Powered by ViewVC 1.1.26