[Dxspider-support] Autostarting/Respawning on Ubuntu 18.04
Dirk Koopman
djk at tobit.co.uk
Fri Apr 24 22:41:45 CEST 2020
sudo systemctl enable dxspider
But when I last tried it gave me errors, which I did not understand, but
I rebooted and it magically sprung into life.
I find Google very helpful when I get stuck :-)
Dirk G1TLH
On 24/04/2020 21:01, IK5ZUK Luigi via Dxspider-support wrote:
> Hi Dirk,
> Thanks for your quick reply.
>
> As root, I've copyed the dxspider.service file into the folder
> /etc/systemd/system, done the 'systemctl start dxspider' (with
> 'systemctl reload' spider doesn't start), but if I make a system
> reboot, spider doesn't start automatically. After system reboot I need
> to do again the 'systemctl start dxspider' command....
>
> What I have to do to start spider automatically at system boot ?
>
> Thanks in advance !
>
> 73 Luigi IK5ZUK
>
>
> Luigi - IK5ZUK
> Qth: Pisa
> Locator: JN53FQ
> Mail: ik5zuk at tiscali.it
>
> Il 24/04/2020 21.43, Dirk Koopman via Dxspider-support ha scritto:
>> 18.04 does not support /etc/initrc or stuff in /etc/init.d. In
>> /spider, you will find that there is a file called dxspider.service.
>> You need to put that into /etc/systemd/system.
>>
>> You will then need to do a 'sudo systemctl reload' then check whether
>> it has started. If not then do a 'systemctl start dxspider' - failing
>> that, just reboot and it should spring into life.
>>
>> I have not yet done the instructions for an installation of mojo onto
>> a new computer. I will be doing an install script soon. If I am
>> feeling adventurous, I might even do a .deb!
>>
>> Dirk
>>
>> On 24/04/2020 20:35, IK5ZUK Luigi via Dxspider-support wrote:
>>> Hello all,
>>> I've made a fresh new spider installation over Ubuntu 18.04 LTS
>>> system. Now, as the final step, I need to make spider autostarting
>>> at system startup and also respawing: I've tryed to create the
>>> script dxspider.conf placed in /etc/init/ folder with the following:
>>>
>>> #DXSpider startup script
>>> #
>>> # This service maintains a getty on tty7 from the point the system is
>>> # started until it is shut down again.
>>>
>>>
>>> start on runlevel [2345]
>>> stop on runlevel [!2345]
>>>
>>> respawn
>>>
>>> exec /bin/su - sysop -c "/usr/bin/perl -w /spider/perl/cluster.pl"
>>> >/dev/tty7
>>>
>>>
>>> but unfortunately, after doing "telinit q" [or system reboot]
>>> nothing happens: spider doesn't start automatically.
>>>
>>> Please, could someone give me some help ?
>>>
>>> Thank you in advance !
>>>
>>> 73 Luigi IK5ZUK
>>>
>>>
>>>
>>>
>>>
>>
>>
>> _______________________________________________
>> Dxspider-support mailing list
>> Dxspider-support at tobit.co.uk
>> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
>
>
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at tobit.co.uk
> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
More information about the Dxspider-support
mailing list