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
On Thu, Oct 05, 2000 at 06:51:06PM -0400, 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 to startup the Orion server when the OS bootup?
>
> thanks!
>
> Sean
>
--
Tony Abbott [EMAIL PROTECTED]