Answer the question
In order to leave comments, you need to log in
Autoload in Ubuntu?
I have an ubuntu server and a server program written in C# that runs via mono (mono program.exe).
How can I make sure that this line is entered into the console every time the OS boots? (monoprogram.exe)
Answer the question
In order to leave comments, you need to log in
but in the right way to make a demon out of it. That is, wrap it in a script in /etc/init.d/, etc. For example, this article describes how to do this for a python script. Everything is exactly the same for your case. Just make a shell script in which mono program.exe will be executed.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question