#145 Run taskotron-trigger as a service
Closed: Fixed Opened by tflink.

Currently, taskotron-trigger is run on the command line in screen. We've talked about moving that to a systemd service but never actually did it.

Attempt to run fedmsg-hub as a systemd service, make sure that:
* Jobs are triggered
* csv log is being written

If fedmsg-hub can't handle the csv logs being written, figure out another way to make this happen - running trigger in the cli isn't going to work long term.


This is already implemented, I tested it to make sure it works though like so:

  • create a rpm
  • install the rpm
  • amend /etc/taskotron/trigger.cfg according to readme.rst
  • run systemctl start fedmsg-hub.service
  • wait for messages to appear on fedmsg bus
  • to check if jobs are triggered: cat /var/log/fedmsg/taskotron-trigger.log (I used StreamTrigger for testing I should note)
  • to check if cvs log is being written: cat /var/log/taskotron-trigger/jobs.csv

Works on my system :)

Thanks for verifying that it all works as it's supposed to

Metadata