[Dxspider-support] How to set up auto restart of DX spider in Centos 6?
Alex Savenok
sawenok at gmail.com
Sun Jan 8 22:09:57 GMT 2012
Hi dxspider gurus!
I have moved my spider node 4z5lz-2 to the new server on Centos 6, 64bits.
But unfortunately I can't create auto start of the node.
It seems that Centos 6 doesn't support configuration in /etc/inittab as
described in http://www.dxcluster.org/main/spiderFAQ_en-2.html#ss2.1
I've tried to add in /etc/rc.d/init.d/dxspider:
#!/bin/sh
# chkconfig: 2345 99 00
case "$1" in
'start')
/bin/su -c "/usr/bin/perl -w /spider/perl/cluster.pl" cqplanet >
/dev/tty7
touch /var/lock/subsys/dxspider
;;
'stop')
rm -f /var/lock/subsys/dxspider
;;
*)
echo "Usage: $0 { start | stop }"
;;
esac
exit 0
But it doesn't help me too.
How can I solve my problem?
Thank you very much! 73!
Alex
4Z5LZ-2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20120109/f21a7a12/attachment.html>
More information about the Dxspider-support
mailing list