[Dxspider-support] ubuntu and dxspider
Stephen M. Murphy
murphys at comcast.net
Sun Mar 9 23:05:47 GMT 2008
Here's the Upstart script (/etc/event.d/dxspider) that I use with Ubuntu:
# spider -start dxspider
#
# This service maintains the DXSpider node from the point the system is
# started until it is shut down again.
start on runlevel 2
start on runlevel 3
start on runlevel 4
start on runlevel 5
stop on shutdown
respawn
exec /spider/perl/cluster.pl tty9
There's probably a better way to do it, but this gets the job done.
73,
Steve N8NM
Bob Nielsen wrote:
> On Mar 9, 2008, at 2:47 PM, Ian J Maude wrote:
>
>> Ian J Maude wrote:
>>> You should be able to find it in the wiki at
>>> http://www.gb7mbc.net/spiderwiki
>>>
>> Answering my own point it is not there. I thought someone had added
>> it. Could someone let us know and I will add it myself.
>
> I'm still running an older version of Ubuntu (6.06 LTS), but from
> perusing the Ubuntu website, it appears that sysvinit has been
> replaced by upstart. This would require creating a file in /etc/
> event.d to do the same function for spider as was done by inittab.
> The existing files in /etc/event.d could probably be used as examples
> for doing this.
>
> It should probably look something like:
>
> start on runlevel 2
> start on runlevel 3
>
> stop on runlevel 0
> stop on runlevel 1
> stop on runlevel 6
>
> respawn
> exec /bin/su -c "/usr/bin/perl -w /spider/perl/cluster.pl" sysop >/
> dev/tty7
>
> Caveat: I haven't actually tried this.
>
> It appears that the sysvinit package is still available (and
> conflicts with upstart), so installing it should work with the
> original inittab syntax.
>
> Bob, N7XY
>
>
> The sysvinit package is still available and could be installed to do
> things the "old way" (this package conflicts with upstart so there
> shouldn't be any conflicts).
>
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at dxcluster.org
> http://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
>
More information about the Dxspider-support
mailing list