mirror of
https://github.com/Misterblue/opensim-docker.git
synced 2026-07-30 03:12:41 +00:00
19 lines
835 B
Markdown
19 lines
835 B
Markdown
This directory of files are copied into /home/opensim to act as the
|
|
startup and operation scripts for the instance of OpenSim that is running
|
|
in the docker container.
|
|
|
|
`bootOpenSim.sh` is run when the docker container starts and is responsible
|
|
for seeing that the configuration files and other setup (like DB) are initialized.
|
|
This script calls `firstTimeSetup.sh` for the first ever boot to do any
|
|
initial setup.
|
|
This script will fail if the environment variables `CONFIGKEY` or `EXTERNAL_HOSTNAME`
|
|
are not set.
|
|
|
|
`run.opensim.sh` starts the OpenSimulator instance.
|
|
|
|
`checkOpenSim.sh` is run periodically to make sure that the OpenSimulator instance
|
|
is running and, if not, save crash information (`captureCrash.sh`) and then
|
|
restart OpenSimulator.
|
|
|
|
`crontab` is set initially to run `checkOldLogFiles.sh` which rotates `OpenSim.log`.
|