OrientDB is shipped with the script $ORIENTDB_HOME/bin/orientdb.sh that can be used to run OrientDB like a daemon. It supports the following parameters:
Before to install it as service open the file and change the following lines:
ORIENTDB_DIR="YOUR_ORIENTDB_INSTALLATION_PATH"
ORIENTDB_USER="USER_YOU_WANT_ORIENTDB_RUN_WITH"
`
By setting the installation path and the user as stated, save the script, and deploy like other scripts for the other daemon.
Different Unix, Linux and MacOSX distribution uses different ways to manage the start/stop process at the system bootstrap/shutdown.
To learn more about how to install OrientDB on specific environment please follow the guide below: