Does CUBRID include init.d script to autostart Server?
Some time ago I've installed CUBRID on Linux using one of the available packages. I've been using it for my personal home page. Once in a while I need to restart the server and this is the point when it gets a little bit inconvenient because I need to run cubrid service start every time manually in order to start CUBRID Service.
Therefore I wondered whether CUBRID installation package already comes with an init.d script to autostart the database server on reboot which I might have missed somehow? If not, is there a plan to include such a script for users' convenience?
Since version 8.3.0 we provide such a script in sh or rpm Linux packages. You can find a script called "cubrid" in $CUBRID/share/init.d/ directory where $CUBRID is the directory where you installed CUBRID Server. In this file you need to replace CUBRID_USER with the username of the account which installed CUBRID. Then you can register this script to /etc/init.d and use service or chkconfig commands.
If you do not want to manually modify this init stript and register it in your system, we suggest you to install CUBRID using your OS package manager. For example,
sudo apt-get install cubrid(view tutorial)yum install cubrid(view tutorial)
This way everything will be installed for you automatically and CUBRID Service will be started on system reboot.