|< 1 2 3 >| | 28 entries, 3 pages |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
POPFILE_HOME=/var/log/popfile
export POPFILE_HOME
case "$1" in
start)
/bin/echo -n "Starting POPFile Spam Filter...."
cd $POPFILE_HOME
/usr/bin/perl $POPFILE_HOME/popfile.pl 1> /dev/null 2> /dev/null &
/bin/echo "done."
;;
stop)
/bin/echo -n "Stopping POPFile Spam Filter...."
/bin/kill -TERM `/bin/cat $POPFILE_HOME/popfile.pid` 1> /dev/null 2> /dev/null
/bin/echo "done."
;;
*)
echo $"Usage: $0 {start|stop}"
exit 1
esac
|< 1 2 3 >| | 28 entries, 3 pages |