~jcsackett/charmworld/bac-tag-constraints

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: j.c.sackett
  • Date: 2013-02-20 14:18:26 UTC
  • mto: This revision was merged to the branch mainline in revision 155.
  • Revision ID: jcsackett@canonical.com-20130220141826-x04jmxn8ckr08b3p
Supervisord and daemonizing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
run: $(INI) charmworld/static/css/theme.css
121
121
        $(PSERVE) --reload --monitor-restart $(INI)
122
122
 
 
123
start_supervisor:
 
124
        bin/supervisord -c charmworld/jobs/supervisord.conf
 
125
 
 
126
stop_supervisor: 
 
127
        cat ./supervisord.pid | xargs kill -HUP
 
128
 
 
129
start_worker: start_supervisor
 
130
        bin/supervisorctl -c charmworld/jobs/supervisord.conf start ingest
 
131
 
 
132
stop_worker:
 
133
        bin/supervisorctl -c charmworld/jobs/supervisord.conf stop ingest
 
134
 
123
135
clean:
124
136
        find . -type f -name '*.py[co]' -print0 | xargs -r0 $(RM)
125
137
        find . -type f -name '*~' -print0 | xargs -r0 $(RM)
151
163
  test
152
164
  testid
153
165
  venv
 
166
  start_supervisord
 
167
  stop_supervisord
 
168
  start_worker
 
169
  stop_worker
154
170
endef
155
171
 
156
172
define phony