Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: How do I make Monkey Web Server Automatically run?< Next Oldest | Next Newest >
ApocalypseFalcon Offline





Group: Members
Posts: 9
Joined: Feb. 2006
Posted: Feb. 24 2006,03:15 QUOTE

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.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Feb. 24 2006,14:32 QUOTE

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.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
dhruv
Unregistered






Posted: Mar. 09 2006,22:07 QUOTE

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
Back to top
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Mar. 09 2006,23:36 QUOTE

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.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
ApocalypseFalcon Offline





Group: Members
Posts: 9
Joined: Feb. 2006
Posted: Mar. 13 2006,21:46 QUOTE

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
Back to top
Profile PM 
5 replies since Feb. 24 2006,03:15 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: How do I make Monkey Web Server Automatically run?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code