4.4.3 Modifying the Data Directory Location on CentOS or Redhat 7.x

Table of Contents Previous Next


4 Using a Package Manager to Install Advanced Server : 4.4 Configuring a Package Installation : 4.4.3 Modifying the Data Directory Location on CentOS or Redhat 7.x

On a CentOS or RedHat version 7.x host, the unit file is named edb-as-11.service and resides in /usr/lib/systemd/system. The unit file contains references to the location of the Advanced Server data directory. You should avoid making any modifications directly to the unit file because it may be overwritten during package upgrades.
By default, data files reside under /var/lib/edb/as11/data directory. To use a data directory that resides in a non-default location, create a copy of the unit file under the /etc directory:
After copying the unit file to the new location, modify the service file (/etc/systemd/system/edb-as-11.service) with your editor of choice, correcting any required paths.
Then, use the following command to reload systemd, updating the modified service scripts:

4 Using a Package Manager to Install Advanced Server : 4.4 Configuring a Package Installation : 4.4.3 Modifying the Data Directory Location on CentOS or Redhat 7.x

Table of Contents Previous Next