Apps :: How do I make Monkey Web Server Automatically run?



How can I make Monkey Web server automatically run on startup, I have dsl v 1.2 installed on my hard drive (for some reason i could not get dsl v 2.2 to install) and it is working fine. I was just wondering how to make this run on bootup, so I can turn my server on automatically (from the BIOS) in the morning without having to push the button in the control panel to turn monkey web server on.
One way is to add "/opt/monkey/bin/banana start" to /opt/bootlocal.sh, and backup that file if necessary.
If monkey is not a typical daemon (running in the background by default), you may need to add "&" to the end of the command.

Quote (mikshaw @ Feb. 24 2006,09:32)
One way is to add "/opt/monkey/bin/banana start" to /opt/bootlocal.sh, and backup that file if necessary.
If monkey is not a typical daemon (running in the background by default), you may need to add "&" to the end of the command.

i am a noob and can not figure out how to edit the bootlocal file. it is marked readonly and i can't change it.

Please email me an answer if you can.

dhruvbhavsar at bellsouth.net

sorry, but i don't do support via email or private message...only here and at #damnsmalllinux

/opt/bootlocal.sh should be writeable by user dsl, I believe.  Maybe you are logged in as a different user?  In any case, you can edit the file as root.  Quick way to do it is by typing this in a terminal:
Code Sample
sudo echo "/opt/monkey/bin/banana start" >> /opt/bootlocal.sh

Note the ">>".  That's 2, not 1.  If you use just ">" it will overwrite the file instead of appending to it.

Another method for starting monkey automatically is to add the word "monkey" to your boot options.  The precise method of doing this depends on which bootloader you are using.

also, you might have to use emel-fm as the super user by using the menu when you right-click in order to edit the file. I have had the same problem
Next Page...
original here.