[fix] Do not log migration to stretch in /tmp/. Issue #1280

This commit is contained in:
opi 2019-01-28 10:29:28 +01:00 committed by Alexandre Aubin
parent ad8a290402
commit c19304dc5c

View file

@ -34,7 +34,7 @@ class MyMigration(Migration):
def migrate(self): def migrate(self):
self.logfile = "/tmp/{}.log".format(self.name) self.logfile = "/var/log/yunohost/{}.log".format(self.name)
self.check_assertions() self.check_assertions()