introduce service unit for bahmni-erp-connect

Description

Create a systemd unit (.service) file for bahmni-erp-connect.

  1. name: “bahmni-erp-connect.service”

  2. target location: /usr/lib/systemd/system/

 

service file options

  1. user = bahmni

  2. pid file

  3. ExecStart - call command “/etc/init.d/bahmni-erp-connect start”

  4. ExecStop - call command “/etc/init.d/bahmni-erp-connect stop”

  5. ExecReload - call command “/etc/init.d/bahmni-erp-connect restart”

  6. multi user target forking type

 

Update startup script

  • modify the sysvinit script (/etc/init.d/bahmni-erp-connect) to remove the “su -u …” option. (the user “bahmni” is mentioned in service file)

 

Status

Assignee

Angshuman Sarkar

Reporter

Angshuman Sarkar

Labels

None

Units

None

PercentDone

None

DueTime

None

Clients

None

External issue ID

None

UAT Assignee

None

Reviewer

None

Sprint

Configure