[Mono-list] Getting a service to start automatically
bonefry at gmail.com
Mon Jun 26 10:53:11 EDT 2006
Actually, crontab is available on every Linux distro.
And I prefer crontab over the init process because you can monitor your
server this way.
For example you could do a script that executes everyday and checks the
status of the server process.
If the server process is not running, the script can start it.
And we can get a little wild here and have a rule like ... if the server
process takes too many resources, the script should restart it.
And you don't have to write special scripts like in the case of the init
For starters just write a sh file where you place the command you give
to launch your application, and that's it.
Nikki Locke wrote:
> Lee wrote:
>> I've have tried unsuccessfully to get a service that I wrote to startup
>> automatically via an init.d script.
> Assuming you can get the service to start OK manually, then I suggest you ask
> this question in a list or group dedicated to your particular Linux distro, as
> it is a Linux question, and the best answer depends on your distro.
More information about the Mono-list