Your ln command is incorrect, however let's go about it another way for now. If you want to revisit the symlink, we'll deal with that later (EDIT: See Archtoads post above!).
This should work:
Locate your startup scripts (generally in /etc/rc.d or similar) and see if you have a file named like "rc.local" or "rc.local.startup".
And into that file, put a line like:
Code:
/opt/upspilot/agent start
and that should do it. Similarly, in the file "rc.local.shutdown" put the same line, but use 'stop' rather than 'start'.
I do know there is another related command that automatically configures services to stop/start and installs the symlinks you need for your first method, but I cannot recall the command at the moment. Surely someone will pop in here with that method soon
NOTE: If you cannot locate the local startup scripts, the same commands I gave can be placed into your main startup & shutdown scripts too; the difference is that by using the LOCAL ones, you have a one-stop location where you can edit stuff that you yourself have installed, and which is not part of the actual SYSTEMs default start/stop routines.
If you have troubles or cannot figure this out, either someone will pop in with a better solution, OR I will find that command for auto-inserting the S99/K99 symlinks (it is part of the SystemV startup system). EDIT - and again, Archtoad has given the basics of the SysVinit method, though I'm still sure there is a single command that installs the S/K links.. I *think*..)
SVA