# Install as Service on Unix/Linux

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:

• start
• stop
• status

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.