Commit 659e0f19 authored by Janez K's avatar Janez K

dodal supervisor status v fabfile

parent fed7aea6
......@@ -44,6 +44,13 @@ def deploy():
#puts(yellow("[Compressing]"))
#run('python manage.py compress')
def supervisorstat():
"supervisor statistika na serverju"
with prefix('source /srv/django-envs/mothra/bin/activate'):
with cd('/srv/django-projects/supervisor'):
#run('tail /srv/django-logs/runstreams.stdout.log')
run('supervisorctl status')
def apache_restart():
"""restarta apache service
primer:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment