Skip to content

Commit 12af8fb

Browse files
committed
More log utils.
1 parent 8f5716a commit 12af8fb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

fabfile.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,16 @@ def remove_project(project):
2222
def ntpdate():
2323
run('ntpdate-debian')
2424

25-
@hosts(['newasgard.readthedocs.com'])
25+
@hosts(['newasgard.readthedocs.com', 'newchimera.readthedocs.com'])
2626
def nginx_logs():
2727
env.user = "root"
2828
run("tail -f /var/log/nginx/*.log")
2929

30+
@hosts(['newbuild.readthedocs.com'])
31+
def celery_logs():
32+
env.user = "docs"
33+
run("tail -f tail -f ~/log/celery.err")
34+
3035
@hosts(['newasgard.readthedocs.com', 'newchimera.readthedocs.com'])
3136
def logs():
3237
env.user = "docs"

0 commit comments

Comments
 (0)