introduce service unit for pacs-integration

Description

Create a systemd unit (.service) file for pacs-integration.

  1. name: “pacs-integration.service”

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

 

service file options

  1. user = bahmni

  2. pid file

  3. ExecStart - call command “/etc/init.d/pacs-integration start”

  4. ExecStop - call command “/etc/init.d/pacs-integration stop”

  5. ExecReload - call command “/etc/init.d/pacs-integration restart”

  6. multi user target forking type

 

Update startup script

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

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