Files
opensim-docker/run-scripts
Robert Adams 952936f7e6 Update README files to explain mounting of config files
Make CONFIGKEY optional since encrypting secrets is now optional
Mount container 'config' directory as external 'config'
Change name of SQL database file to "opeinsim-sql-data"
2022-02-05 19:33:08 +00:00
..

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.