Creating a new bootup script
Hi all.
Running Centos5 with the latest webmin, WHM and Cpanel. I am trying to run the following as a startup script through webmin, but so far no joy. Searched the internet for a couple of hours last night and couldn't find the answer. I am wanting the following to start on bootup. Quote:
Quote:
Thankyou |
I'm not sure that the '00' in "# chkconfig: 2345 99 00" is valid... try '01'
If you run the commands - Code:
cd /home/aussied/.gameservers/bf2_0 Can you post the output of : Code:
chkconfig --list (bf2 or whatever you called the script) |
Quote:
*nix executables do not have that extension (binaries don't have any extension). |
The developers may have written the .exe to be mono compatible, so it should be ok Chris
|
Might be worth running the 'file' cmd on it to see.
|
Thankyou for the replies so far.
Yes this is run under mono, and it runs fine in the command. Runs under terminal as above and also with the screen command. I just can't get it to run on system bootup. The most frustrating part of this is that I did get something similar to this running a couple of years ago, the way I want it. Just can't for the life of me remember how I did it. |
chkconfig output ?
|
Don't forget, if it is a graphical application, it will not start until after X has started.
--- rod. |
All times are GMT -5. The time now is 01:44 AM. |