Re: Running Lenya 2 as daemon
Richard Frovarp <[email protected]>
| Newsgroups | gmane.comp.cms.lenya.user |
|---|---|
| Message-ID | <[email protected]> |
On 2/20/2010 4:02 AM, Petteri Sulonen wrote: > Hi, folks -- > > Is there an init script available somewhere to run Lenya 2 > (standalone) as a Unix daemon? I found one for Lenya 1.2.5, but not > 2.0.3, but it appears that ./lenya.sh for 2.0.3 doesn't accept 'stop' > as a parameter, so it's not easily portable. > > If not, what's the recommended way of accomplishing this? > > TIA, > > /Petteri > My recommended way would be to run it under a properly configured Java application server that is setup as a daemon. You of course could use Jetty or Tomcat for the job. While I have ran it for demonstration purposes from the script, I don't like doing that long term. Richard