Open a shell as root
For CentOS or Suse
For Ubuntu or Debian
If you have a JobScheduler installation before 22.214.171.1248 then you have to edit the startscript ./bin/jobscheduler.sh before you copy it to /etc/init.d.
where you have to set the installation path of the JobScheduler into above line