ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/ermyth/dist/atheme.chk
Revision: 1.1
Committed: Thu Jul 19 08:24:47 2007 UTC (16 years, 10 months ago) by pippijn
Branch: MAIN
Log Message:
initial import. the most important changes since Atheme are:
- fixed many memory leaks
- fixed many bugs
- converted to C++ and use more STL containers
- added a (not very enhanced yet) perl module
- greatly improved XML-RPC speed
- added a JSON-RPC module with code from json-cpp
- added a valgrind memcheck module to operserv
- added a more object oriented base64 implementation
- added a specialised unit test framework
- improved stability
- use gettimeofday() if available
- reworked adding/removing commands
- MemoServ IGNORE DEL can now remove indices

File Contents

# User Rev Content
1 pippijn 1.1 #!/bin/sh
2     #
3     # crontab script for atheme
4     #
5    
6     # Change this to the directory where you installed it
7     prefix=$HOME/atheme/
8     pidfile=var/atheme.pid
9    
10     cd "$prefix" || {
11     echo "$0: couldn't cd to $prefix"
12     exit 1
13     }
14    
15     if [ -f "$pidfile" ] ; then
16     PID=`cat "$pidfile"`
17    
18     if kill -0 $PID >/dev/null 2>&1; then
19     exit 0
20     fi
21    
22     rm -f "$pidfile"
23     fi
24    
25     echo "$0: couldn't find atheme running, restarting..."
26    
27     ./bin/atheme
28    
29     exit 0