diff -r 74040696c850 -r eb73a4e6881e sbin/sync/fabfile.py --- a/sbin/sync/fabfile.py Tue Jan 06 17:48:50 2015 +0100 +++ b/sbin/sync/fabfile.py Tue Jan 06 17:53:55 2015 +0100 @@ -1,4 +1,4 @@ -from fabric.api import env, local, put, run, cd, lcd, task, prefix +from fabric.api import env, local, put, run, lcd, task, prefix, sudo from fabric.contrib.files import exists from fabric.colors import green import tempfile @@ -56,9 +56,7 @@ # now that all is set up, delete the folder again run('rm -rf /tmp/%s.tar.gz' % dist) - # # and finally touch the .wsgi file so that mod_wsgi triggers - # # a reload of the application - # run('touch /var/www/yourapplication.wsgi') + sudo('supervisorctl restart catedit', shell=False) @task(default=True) def deploy_version(version='tip'):