Repository navigation
Managing Instances
opensim status lists enabled instances, whether they are running, and a summary.
opensim status
opensim start
opensim stop
opensim restartWith no target, start/stop/restart apply to the enabled instances. Give grid or simulator names to target specific instances. --simulators includes the simulators belonging to named grids; use now with stop or restart to skip the user warning.
opensim start my-grid
opensim stop my-grid --simulators
opensim restart now my-gridThe instances run under one service, opensim.service, as the sites of a web server run under it. It starts at boot once the network and the database are up, and starts the enabled instances in order (opensim start). sudo systemctl stop opensim, and a shutdown or a reboot, stop them all in order (opensim stop now): the simulators, then their grid.
Whoever starts an instance (opensim start in a terminal, the engine API, the site), it is the service's: the service starts it, and it stops with the service. When the service does not run, opensim start says so and starts the instance on its own, outside it. Start the service then:
sudo systemctl start opensim
sudo systemctl status opensimInstalling or upgrading the packages starts the service when it is enabled and stopped, and never restarts it: the running grids stay up.
Enable or disable an instance without starting or stopping it immediately:
opensim disable my-grid.welcome
opensim enable my-grid.welcomeGrid services can be enabled or disabled separately:
opensim enable my-grid search
opensim disable my-grid profiles
opensim enable my-grid economy gloebitAttach to a running instance console with opensim console INSTANCE. For example:
opensim console my-grid.welcomePress Ctrl-A, then D, to detach from a screen session while leaving it running. Use opensim COMMAND --help for exact command syntax.
opensim web my-grid show
opensim web my-grid check
opensim web my-grid snippet caddyshow lists configured web services, check checks their URLs, and snippet prints configuration for Caddy, Nginx, or Apache. A snippet is printed for review; it is not installed automatically.
opensim next port 9000 10
opensim next my-grid location 1000,1000 4The command uses the same allocation rules as setup. Repeat -e VALUE to exclude a port or location.
opensim ban my-grid "First Last" --output ./reviewThis prepares user information and SQL statements for review. It does not change the databases.
OpenSimulator tools | OpenSim Engine (API) | OpenSim Helpers | W4OS WordPress Plugin | Speculoos.World:8002