[Dxspider-support] Startup scripts

Niels pd9q at packet-radio.net
Thu Dec 24 16:06:23 CET 2020


Hi David,

Your systemd script looks good to me. 

73 Niels PD9Q
http://dx.packet-radio.nl

Op Thu, 24 Dec 2020 02:35:58 -0500
David Spoelstra via Dxspider-support <dxspider-support at tobit.co.uk>
schreef:

> 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




More information about the Dxspider-support mailing list