[Dxspider-support] UPSTART script for second cluster, Ubuntu

Dirk Koopman G1TLH gb7tlh at dxcluster.org
Sat Feb 25 16:25:50 GMT 2012


On 25/02/12 14:31, Gunnar Widell wrote:
> Hi,
>
> Trying to figure out how to make a dxspider2.conf for a second instance
> of dx-spider.
> Something like this? But it does NOT work.
>
> (main process terminated with status 2)
>
> Help!
>
> 73 de Gunnar SM3SGP
>
> #DXSpider startup script
> #
> # This service maintains a getty on tty7 from the point the system is
> # started until it is shut down again.
>
> description "DXSpider2 DX Cluster"
> start on filesystem
> stop on runlevel S
>
> respawn
>
> exec /bin/su - sysop2 -c "DXSPIDER_ROOT=/home/sysop2/spider
> /usr/bin/perl -w $DXSPIDER_ROOT/perl/cluster.pl &>/dev/null" sysop2

I think it should be:

description "DXSpider DX Cluster 2"
start on filesystem
stop on runlevel S

respawn
umask 0002
exec su -c "DXSPIDER_ROOT=/home/sysop2/spider /usr/bin/perl -w 
$DXSPIDER_ROOT/perl/cluster.pl >/dev/null 2>&1" sysop2



More information about the Dxspider-support mailing list