[Dxspider-support] Ubtuntu start up script

Dirk Koopman djk at tobit.co.uk
Wed Jul 26 22:11:30 BST 2017


On 26/07/17 17:42, Ed Tump via Dxspider-support wrote:
> Running… Ubuntu 16.04.2 LTS

I created a file called /etc/systemd/system/dxspider.service containing 
this:

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

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

[Install]
WantedBy=multi-user.target
Alias=dxspider.service


I believe one then does something like:

systemctl enable dxspider

then

systemctl start dxspider

(or "service dxspider start")

Before anyone asks there is no "/etc/default/dxspider". I can't remember 
whether it's relevant nor whether that line is actually necessary.

Dirk G1TLH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20170726/236fea98/attachment.html>


More information about the Dxspider-support mailing list