mirror of
https://github.com/lilydjwg/archrepo2.git
synced 2025-03-10 12:02:43 +00:00
fix server_path
This commit is contained in:
parent
e394350ccc
commit
467605b292
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ class Server:
|
|||
self.conffile = conffile
|
||||
|
||||
def start(self):
|
||||
server_path = os.path.normpath(os.path.join(__file__, '../../archreposrv'))
|
||||
server_path = os.path.join('.', os.path.normpath(os.path.join(__file__, '../../archreposrv')))
|
||||
logging.debug('server path: %s', server_path)
|
||||
logging.info('starting server...')
|
||||
self.p = subprocess.Popen([server_path, self.conffile])
|
||||
|
|
Loading…
Add table
Reference in a new issue