Run DxSpider as service on the CentOS / RedHat / Fedora

How to run dxspider as service. Create init script with name dxpider as root user in the below path /etc/init.d/ cd /etc/init.d/ touch dxspider vi dxspider Create script with name dxspider and like as below