Start fedmsg-irc once the config is setup

Also, do not notify the service to restart once it was
started by service, that's not needed
This commit is contained in:
Michael Scherer 2016-04-09 10:33:11 +02:00 committed by Kevin Fenzi
parent 548a1550ee
commit 137dc7c148

View file

@ -19,14 +19,6 @@
tags:
- fedmsgmonitor
- name: enable on boot and start fedmsg-irc
service: name=fedmsg-irc state=started enabled=true
tags:
- services
- fedmsg/irc
notify:
- restart fedmsg-irc
- name: setup fedmsg-irc config file
template: src=ircbot.py dest=/etc/fedmsg.d/ircbot.py
tags:
@ -47,3 +39,11 @@
- fedmsg/irc
notify:
- restart fedmsg-irc
- name: enable on boot and start fedmsg-irc
service: name=fedmsg-irc state=started enabled=true
tags:
- services
- fedmsg/irc