cloudify rabbitmq PID file should be in /var/run/cloudify-rabbitmq , not /tmp

Description

/tmp is not a good place to put PIDfiles.

Instead we should create a dir in `/run` using systemd's /etc/tmpfiles.d and use that instead.

See https://github.com/cloudify-cosmo/cloudify-manager/blob/master/packaging/rest-service/files/usr/lib/tmpfiles.d/cloudify-restservice.conf for an example of how to create a dir in `/run` at startup, and add a line like https://github.com/cloudify-cosmo/cloudify-manager/blob/master/packaging/cloudify-rest-service.spec#L74 to ensure that the dir is also created at package installation time

Assignee

Unassigned

Reporter

Matt Wheeler

Labels

Bug Type

new feature bug

Target Version

4.4

Severity

None

Time tracking

0m

Time remaining

9h

Affects versions

Configure