Merge lp:~facundo/charms/trusty/tanuki-spec-manager/store-poller-two-modes into lp:~tanuki/charms/trusty/tanuki-spec-manager/trunk

Proposed by Facundo Batista on 2015-12-01
Status: Merged
Approved by: Celso Providelo on 2015-12-01
Approved revision: 36
Merged at revision: 35
Proposed branch: lp:~facundo/charms/trusty/tanuki-spec-manager/store-poller-two-modes
Merge into: lp:~tanuki/charms/trusty/tanuki-spec-manager/trunk
Diff against target: 10 lines (+2/-1)
1 file modified
templates/store-poller.cron (+2/-1)
To merge this branch: bzr merge lp:~facundo/charms/trusty/tanuki-spec-manager/store-poller-two-modes
Reviewer Review Type Date Requested Status
Celso Providelo (community) 2015-12-01 Approve on 2015-12-01
Review via email: mp+279092@code.launchpad.net

Commit message

Incorporated a second store_poller call.

Description of the change

Incorporated a second store_poller call.

To post a comment you must log in.
36. By Facundo Batista on 2015-12-01

Use both same crontab config.

Celso Providelo (cprov) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'templates/store-poller.cron'
2--- templates/store-poller.cron 2015-09-17 04:17:20 +0000
3+++ templates/store-poller.cron 2015-12-01 11:37:53 +0000
4@@ -3,4 +3,5 @@
5 # Run installed `store_poller.py` script according
6 # to charm configuration.
7
8-{{ store_poller_frequency }} www-data run-one sh -c 'cd /srv/spec-manager/{{ environment }}/spec-manager && LOG_DIR=../logs ./env/bin/python3 scripts/store_poller.py -c service.conf' 2>&1 >> /dev/null
9+{{ store_poller_frequency }} www-data run-one sh -c 'cd /srv/spec-manager/{{ environment }}/spec-manager && LOG_DIR=../logs ./env/bin/python3 scripts/store_poller.py -m classic -c service.conf' 2>&1 >> /dev/null
10+{{ store_poller_frequency }} www-data run-one sh -c 'cd /srv/spec-manager/{{ environment }}/spec-manager && LOG_DIR=../logs ./env/bin/python3 scripts/store_poller.py -m products -c service.conf' 2>&1 >> /dev/null

Subscribers

People subscribed via source and target branches

to all changes: