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

dodal supervisor status v fabfile

parent fed7aea6
......@@ -44,6 +44,13 @@ def deploy():
#run('python 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
Supports Markdown
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