mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2024-10-01 03:35:38 -04:00
daemon: Change the working dir to our homedir.
This commit is contained in:
parent
3c09dbc80a
commit
2bb6ac7196
@ -746,6 +746,9 @@ def start(
|
||||
app.on_shutdown.append(proxy.shutdown)
|
||||
app.on_shutdown.append(kill_glib)
|
||||
|
||||
home = os.path.expanduser("~")
|
||||
os.chdir(home)
|
||||
|
||||
web.run_app(app, host=str(listen_address), port=listen_port)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user