...
Linux: Note, on linux, you will run this in the background as a long running process:
Code Block |
---|
nohup GROUPER_HOME/bin/gsh.sh -loader &
|
Windows:
Code Block |
---|
GROUPER_HOME/bin/gsh.bat -loader (windows)
|
Its is not always convenient to keep the loader running in an interactive session, as the session may be ended on an event such as a logout. Using something like GNU screen on Linux makes it easier to maintain a persistent session, but it is better to run it as daemon started at boot (for linux), or as a windows service (for windows). Fortunately this is a straightforward task using JavaWrapper from http://wrapper.tanukisoftware.com
...
It is a good idea to do an initial application start in an interactive command line session as then any errors will be printed out onto the screen:
Linux:
Code Block |
---|
WRAPPER_HOME/bin/grouper console
|
Windows:
Code Block |
---|
WRAPPER_HOME\bin\wrapper.exe -c ..\conf\grouper.conf
|
Running as a daemon in Linux
...