Re: Run Orion as a daemon in Linux

2000-10-07 Thread Jim Archer
When you change ownership to a normal user, do you find that Orion has difficulty creating the JSP cache files? Jim --On Friday, October 06, 2000 10:33 AM -0700 Sach Jobb <[EMAIL PROTECTED]> wrote: > We use something very similar to this, only we change the ownership to a > normal user. > > O

Re: Run Orion as a daemon in Linux

2000-10-06 Thread Sach Jobb
We use something very similar to this, only we change the ownership to a normal user. On Thu, 5 Oct 2000, Tony Abbott wrote: > This is off the top of my head but something like this should work... > > #!/bin/sh > > case "$1" in >start) > cd /usr/local/orion && (java -server -Xmx128m

Re: Run Orion as a daemon in Linux

2000-10-06 Thread KirkYarina
This works for us; it goes in /etc/rc.d/init.d/orion, with the usual links to rc.X. We're using a script in the orion directory for convenience, and we haven't sorted out running Orion as something other than root, both of which are security holes. This isn't adequate for Internet accessible

Re: Run Orion as a daemon in Linux

2000-10-06 Thread Gary Shea
On Thu, 5 Oct 2000, Sean Han wrote: > Hi, everyone: > > I know some of you guys use linux as the platform for running Orion server. > Do you use the Sys V script to startup and shutdown the Orion server? If you > do, could you please send me a copy of the script? If not, is there any > solution t

RE: Run Orion as a daemon in Linux

2000-10-06 Thread Frank Eggink
Check 'man nohup'. A line like 'nohup (cd ; java -jar orion.jar) &' in a file called /etc/rc.d/boot.local will do the trick, a bit quick and sirty though. In the /etc/rc.d directory you'll find a lot of startup scripts to start an stop services. To integrate it even better in your system-admin

Re: Run Orion as a daemon in Linux

2000-10-05 Thread Tony Abbott
This is off the top of my head but something like this should work... #!/bin/sh case "$1" in start) cd /usr/local/orion && (java -server -Xmx128m -jar orion.jar &) ;; stop) cd /usr/local/orion && java -jar admin.jar ormi://localhost admin 123 -shutdown ;; esac -t

Run Orion as a daemon in Linux

2000-10-05 Thread Sean Han
Hi, everyone: I know some of you guys use linux as the platform for running Orion server. Do you use the Sys V script to startup and shutdown the Orion server? If you do, could you please send me a copy of the script? If not, is there any solution to startup the Orion server when the OS bootup?