You can configure your system so that the database and X Server (database system communication server) are started automatically when the database computer is started and are stopped automatically when it is shut down.
Activate the automatic database start when you create the database.
More information:
Database Studio, Creating the Database
Database Manager CLI, db_create
The system sets the Startup Type for the database kernel service and the X Server to the value Automatic.
More information: Glossary, Service
To activate/deactivate the automatic database start later, use the Database Manager CLI.
More information: Database Manager CLI, db_reg
Write a start script.
More information: Example: Start Script for a Database on Linux
Create symbolic links to the start script in the necessary Runlevel directories.
You can find more information about starting programs automatically in your operating system documentation.