Hi all I am brand new to all of this so please bear with me. I have created this bash file as follows:
rm /home/ubuntu/test.jar wget http://mywebsite.com/test.jar java -jar test.jar
Now I have placed that file in many various places, run some update thing, and also even made a cron job with the @reboot function.
No matter what, the java program is never actually started.
Now, this is an Amazon Web Services headless Ubuntu server with no GUI, only SSH access so I've gotta do it via command line, and have it run as a daemon of some sort. I appreciate any help!