Skip to content

Commit

Permalink
run supervisor with config
Browse files Browse the repository at this point in the history
  • Loading branch information
GeyseR committed Jan 13, 2014
1 parent f11bf3c commit ec914a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fabfile.py
Expand Up @@ -63,17 +63,17 @@ def update():

def start():
with cd(PROJECT_BASEDIR):
sudo('supervisorctl start pybbm_org_gunicorn')
sudo('supervisorctl -c %s/supervisord/supervisord.conf start pybbm_org_gunicorn' % HOME)


def stop():
with cd(PROJECT_BASEDIR):
sudo('supervisorctl stop pybbm_org_gunicorn')
sudo('supervisorctl -c %s/supervisord/supervisord.conf stop pybbm_org_gunicorn' % HOME)


def restart():
with cd(PROJECT_BASEDIR):
sudo('supervisorctl restart pybbm_org_gunicorn')
sudo('supervisorctl -c %s/supervisord/supervisord.conf restart pybbm_org_gunicorn' % HOME)


def db_backup():
Expand Down

0 comments on commit ec914a1

Please sign in to comment.