From b1aaca28d712b0c1c457cd2a7516585a3dca8f4c Mon Sep 17 00:00:00 2001 From: brent s Date: Wed, 13 Sep 2017 18:51:46 -0400 Subject: [PATCH] make this a little more prod-ready. a *little* more. --- arch/repoclone.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/repoclone.py b/arch/repoclone.py index 65ce994..c928e17 100755 --- a/arch/repoclone.py +++ b/arch/repoclone.py @@ -34,7 +34,7 @@ if bwlimit >= 1: opts.insert(10, '--bwlimit=' + str(bwlimit)) # limit socket I/O bandwidth lockfile = '/var/run/repo-sync.lck' -logfile = '/var/log/arch.repo.sync' +logfile = '/var/log/repo/arch.log' def sync(): # TODO: safer file creation etc. - make sure parent dirs exist. @@ -70,7 +70,7 @@ def sync(): return() def parseArgs(): - pass + pass # TODO: make this moar configurable def main(): sync()