[PATCH 2/2] Start fedmsg-irc once the config is setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Michael Scherer <misc@xxxxxxxx>

Also, do not notify the service to restart once it was
started by service, that's not needed
---
 roles/fedmsg/irc/tasks/main.yml | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/roles/fedmsg/irc/tasks/main.yml b/roles/fedmsg/irc/tasks/main.yml
index 618ab1e..2436c3d 100644
--- a/roles/fedmsg/irc/tasks/main.yml
+++ b/roles/fedmsg/irc/tasks/main.yml
@@ -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
+
+
-- 
1.8.3.1
_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux