Toggle navigation
Koozali.org: home of the SME Server
Community
Forums
Bugs
Lists
Forum Help
Download
SME Server ISOs
Contribs
Documentation
Manual
Wiki
FAQ
HowTo
Donate
Search
Login
Register
Login
Register
×
Close
Login
Remember me
Koozali.org: home of the SME Server
Obsolete Releases
SME 7.x Contribs
Topic:
run program in server startup.
« previous
next »
+
Print
Pages: [
1
]
Go Down
run program in server startup.
4 Replies
794 Views
tropicalview
196
+0/-0
run program in server startup.
«
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,
Logged
The sky is not the limit, But when I reach the sky, for sure I will not try to go to the limit.... (donated $25,- upto now)
Franco
1,171
+0/-0
Re: run program in server startup.
«
Reply #1 on:
April 30, 2009, 02:37:24 AM »
You could add it to /etc/rc.local
Logged
mmccarn
2,651
+10/-0
Re: run program in server startup.
«
Reply #2 on:
April 30, 2009, 02:11:39 PM »
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)
Logged
Franco
1,171
+0/-0
Re: run program in server startup.
«
Reply #3 on:
April 30, 2009, 05:29:54 PM »
There we go, the propper way of doing it.
Thanks mmccarn
Logged
mmccarn
2,651
+10/-0
Re: run program in server startup.
«
Reply #4 on:
April 30, 2009, 08:10:38 PM »
Quote from: stuntshell on April 30, 2009, 05:29:54 PM
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.
Logged
+
Print
Pages: [
1
]
Go Up
« previous
next »
Koozali.org: home of the SME Server
Obsolete Releases
SME 7.x Contribs
Topic:
run program in server startup.