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