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
Status: Merged
Approved by: Celso Providelo
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) Approve
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

Use both same crontab config.

Revision history for this message
Celso Providelo (cprov) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'templates/store-poller.cron'
--- templates/store-poller.cron 2015-09-17 04:17:20 +0000
+++ templates/store-poller.cron 2015-12-01 11:37:53 +0000
@@ -3,4 +3,5 @@
3# Run installed `store_poller.py` script according3# Run installed `store_poller.py` script according
4# to charm configuration. 4# to charm configuration.
55
6{{ 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/null6{{ 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
7{{ 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: