Subversion Repositories SmartDukaan

Rev

Rev 547 | Rev 2863 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 547 Rev 939
Line 1... Line -...
1
pid=`ps -a | grep trac | cut -c 1-5`
-
 
2
if [ "$pid" != "" ]
-
 
3
then
-
 
4
echo "Killing process id $pid"
-
 
5
kill $pid
1
#!/bin/bash
6
else
2
 
7
echo "Trac is not running"
3
killall -9 python2.6
8
fi
-