There must be people here who run their game servers on Ubuntu servers? How do you start the program when the server starts? I can run it with ./Servername.x86_64 but that’s all I know about running programs in Linux. This method is not good because the server will not start if a reboot happens, also the program is tied to the SSH terminal window - if I close it the program closes with it.
I’m also trying to run my server with upstart, but I get this error:
Got a SIGABRT while executing native
code. This usually indicates a fatal
error in the mono runtime or one of
the native libraries used by your
application.
Again, it runs fine if I cd to the directory and run ./Server.x86_64 but that same command does not work trough upstart.
My upstart script:
start on runlevel [2345]
stop on shutdownconsole log
script
chdir /home/tuomas/server
exec ./Server.x86_64
end script