22def41d37
Drop root privileges for rabbitmq. Only the rabbitmq user will be able to execute chown of /var/lib/rabbitmq. Change-Id: I546e6b475a8462bfbc75972854e1fee64f96d9cb Partially-Implements: blueprint drop-root
24 lines
723 B
Django/Jinja
24 lines
723 B
Django/Jinja
{
|
|
"command": "/usr/sbin/rabbitmq-server",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/rabbitmq-env.conf",
|
|
"dest": "/etc/rabbitmq/rabbitmq-env.conf",
|
|
"owner": "rabbitmq",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/rabbitmq.config",
|
|
"dest": "/etc/rabbitmq/rabbitmq.config",
|
|
"owner": "rabbitmq",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/rabbitmq_clusterer.config",
|
|
"dest": "/etc/rabbitmq/rabbitmq_clusterer.config",
|
|
"owner": "rabbitmq",
|
|
"perm": "0600"
|
|
}
|
|
]
|
|
}
|