mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Adding celery granularity to fabfile.
This commit is contained in:
parent
47556ec303
commit
eaa1377fbd
4 changed files with 10 additions and 1 deletions
11
fabfile.py
vendored
11
fabfile.py
vendored
|
@ -110,11 +110,20 @@ def staging_full():
|
|||
|
||||
@roles('task')
|
||||
def celery():
|
||||
run('git pull')
|
||||
celery_stop()
|
||||
celery_start()
|
||||
|
||||
@roles('task')
|
||||
def celery_stop():
|
||||
with cd(env.NEWSBLUR_PATH):
|
||||
run('git pull')
|
||||
run('sudo supervisorctl stop celery')
|
||||
with settings(warn_only=True):
|
||||
run('./utils/kill_celery.sh')
|
||||
|
||||
@roles('task')
|
||||
def celery_start():
|
||||
with cd(env.NEWSBLUR_PATH):
|
||||
run('sudo supervisorctl start celery')
|
||||
run('tail logs/newsblur.log')
|
||||
|
||||
|
|
BIN
media/img/mobile/iphone_logo_512.png
Normal file
BIN
media/img/mobile/iphone_logo_512.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 44 KiB |
BIN
media/img/originals/iPhone Logo.png
Normal file
BIN
media/img/originals/iPhone Logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 210 KiB |
Loading…
Add table
Reference in a new issue