20.17. kb-00016: Customize Production Mode

20.17.1. Knowledge Base Article: kb-00016

20.17.2. Description

20.17.3. Solution

You can use systemd configuration to alter dr-provision start up options and runtime environment.

To use, determin the environment variables you need to set by checking the help of dr-provision service:

  • dr-provision -h
  • or dr-provision --help

You will need to create the systemd drop-in directory if it doesn’t exist:

  • mkdir -p /etc/systemd/system/dr-provision.service.d

Then you will need to create a systemd drop-in service file(s). For example, to name your system endpoint, you would use the recommended file name of drpid.conf, with values:

[Service]
Environment=RS_DRP_ID=mydrpserver

Then reload and restart the service via systemd.

  • sudo systemctl daemon-reload && sudo systemctl restart dr-provision

This will work with multiple files and any of the defaine startup control variables.

20.17.4. Additional Information

Additional resources and information related to this Knowledge Base article.

20.17.4.1. See Also

  • dr-provision --help

20.17.4.2. Versions

v4.0.0 and newer

20.17.4.3. Keywords

dr-provision, systemd, systemctl, restart, customize, startup options

20.17.4.4. Revision Information

KB Article     :  kb-00016
initial release:  Wed Jun 10 11:26:08 PDT 2020
updated release:  Wed Jun 10 11:26:08 PDT 2020