bodhi2: Install a fedmsg-hub.service drop-in that runs it as the masher
This commit is contained in:
parent
e5ea524144
commit
33ec156fb5
2 changed files with 21 additions and 0 deletions
2
roles/bodhi2/backend/files/fedmsg-hub.conf
Normal file
2
roles/bodhi2/backend/files/fedmsg-hub.conf
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[Service]
|
||||||
|
User=masher
|
|
@ -232,3 +232,22 @@
|
||||||
|
|
||||||
- name: make a mnt/koji link
|
- name: make a mnt/koji link
|
||||||
file: state=link src=/mnt/fedora_koji/koji dest=/mnt/koji
|
file: state=link src=/mnt/fedora_koji/koji dest=/mnt/koji
|
||||||
|
|
||||||
|
- name: create the /usr/lib/systemd/system/fedmsg-hub.service.d drop-in directory
|
||||||
|
file: path=/usr/lib/systemd/system/fedmsg-hub.service.d state=directory mode=0755
|
||||||
|
tags:
|
||||||
|
- config
|
||||||
|
- bodhi
|
||||||
|
|
||||||
|
- name: install a femdsg-hub.service drop-in to run it as the masher
|
||||||
|
copy: >
|
||||||
|
src="fedmsg-hub.conf"
|
||||||
|
dest="/usr/lib/systemd/system/fedmsg-hub.service.d/fedmsg-hub.conf"
|
||||||
|
owner=root
|
||||||
|
group=root
|
||||||
|
mode=0644
|
||||||
|
notify:
|
||||||
|
- restart httpd
|
||||||
|
tags:
|
||||||
|
- bodhi
|
||||||
|
- config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue