bodhi2: Install a fedmsg-hub.service drop-in that runs it as the masher

This commit is contained in:
Luke Macken 2015-08-18 21:28:40 +00:00
parent e5ea524144
commit 33ec156fb5
2 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,2 @@
[Service]
User=masher

View file

@ -232,3 +232,22 @@
- name: make a mnt/koji link
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