No worries. You do need to copy it to the /etc/init.d
as you mentioned. This will only tell the system how it can start/stop/restart the arcgisserver service. However you still need to tell it you want it to start at boot.
All the major distros now use something called systemD which handles starting up the system, so you have to do two other small things, listed below, to get it to start on boot.
To interact with system you mainly use the systemctl command to tell it what you want to do .
-
The following will tell systemD to start the arcgisserver service.
systemctl start arcgisserver
- This next command will tell systemD to start it EACH time it boots up.