I am working on a project in which I am using amazon EC2 instance as my TCP/IP socket server.I wrote my server code completely in C .I am able to login to EC2 instance via ssh and run my code. However I want to run that code always. I don't want run every time. how to do that? Do I need to put my C executable load at boot something like that? I have selected Ubuntu 14.04 as my server OS. Does amazon give permissions to use that instance as general computer so that I can put code at boot and restart?
Asked
Active
Viewed 45 times
0
-
3http://stackoverflow.com/questions/4797050/how-to-run-process-as-background-and-never-die – Mark B May 17 '16 at 12:23
-
use the above linked answer or write a /etc/init.d script and make it run on boot with chkconfig – Vorsprung May 17 '16 at 14:37