make this a little more prod-ready. a *little* more.

This commit is contained in:
brent s 2017-09-13 18:51:46 -04:00
parent 05c3fcc825
commit b1aaca28d7
1 changed files with 2 additions and 2 deletions

View File

@ -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()