Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: tropicalview on April 27, 2009, 09:53:52 PM
-
Dear all,
a very basic question,
I would like to run this application:
http://etherpad.com/ep/about/pricing-eepnet
that requires a simple command to call on the startup:
java -Xmx512M -jar enterprise-etherpad-1.0b4.jar &
how can i configure that and how can i make sure this will not be taken away with a reconfigure of the server?
Kind regards,
-
You could add it to /etc/rc.local
-
You can also add it to the "local" event, which was recommended to me over 'rc.local' some years ago by one of the developers.
The following pages include examples of how to add commands to the local event:
http://wiki.contribs.org/Mount_Network_Shares#Modify_the_SME_local_event
http://wiki.contribs.org/USBDisks#Mount_your_disk_automatically_at_boot-up
http://wiki.contribs.org/Nessus#Server_Installation (scroll down a bit)
http://wiki.contribs.org/JetwayMiniITX#Other_Tips_.26_Tricks (scroll down)
-
There we go, the propper way of doing it.
Thanks mmccarn
-
There we go, the propper way of doing it.
I don't know exactly why the local event was recommended to me - my (vague) memory is that there are SME things that happen after "rc.local" that you may want to be complete before you start running things of your own.