From 78c1aa160d94671896df6f330843f8bff66e52e1 Mon Sep 17 00:00:00 2001 From: Andrei Yankovich Date: Fri, 4 Dec 2020 09:33:28 +0300 Subject: [PATCH] Update buildbot.tac --- buildbot.tac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildbot.tac b/buildbot.tac index 71ff47a..47313e1 100644 --- a/buildbot.tac +++ b/buildbot.tac @@ -3,7 +3,7 @@ import os from twisted.application import service from buildbot.master import BuildMaster -basedir = '/home/andrei/bot/master' +basedir = os.path.dirname(os.path.realpath(__file__)) rotateLength = 10000000 maxRotatedFiles = 10 configfile = 'master.cfg' @@ -27,4 +27,4 @@ application.setComponent(ILogObserver, FileLogObserver(logfile).emit) m = BuildMaster(basedir, configfile, umask) m.setServiceParent(application) m.log_rotation.rotateLength = rotateLength -m.log_rotation.maxRotatedFiles = maxRotatedFiles \ No newline at end of file +m.log_rotation.maxRotatedFiles = maxRotatedFiles