[Dxspider-support] Startup scripts

David Spoelstra davids at mediamachine.com
Thu Dec 24 08:35:58 CET 2020


While we're sharing, I always felt uneasy about the correct way to startup
DXSpider. Here's the startup script I put together that's been running my
RasPi3 node for over three years. Is this the *best* way to do it? What are
better ways/scripts to start my node?
-David, N9KT

#It goes into /etc/systemd/system
#Then one needs to do:
#systemctl daemon-reload
#systemctl enable dxspider
#then
#systemctl start dxspider
#or
#service dxspider start

[Unit]
Description=DXSpider DX Cluster node
After=network.target auditd.service

[Service]
EnvironmentFile=-/etc/default/dxspider
ExecStart=/spider/perl/cluster.pl > /dev/null 2>&1
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=on-failure
RestartPreventExitStatus=255
User=sysop
Group=sysop

[Install]
WantedBy=multi-user.target
Alias=dxspider.service
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20201224/9d5d7ff8/attachment.htm>


More information about the Dxspider-support mailing list