mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
vagrant: Cleanup for obsolete log files
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
f1d475bb4e
commit
da08b8bd02
@ -27,11 +27,3 @@ try:
|
||||
os.remove('data/var/lib/plinth/plinth.sqlite3')
|
||||
except OSError:
|
||||
pass
|
||||
|
||||
# Truncate status.log
|
||||
with open('data/var/log/plinth/status.log', 'w') as status_log:
|
||||
status_log.truncate()
|
||||
|
||||
# Truncate access.log
|
||||
with open('data/var/log/plinth/access.log', 'w') as access_log:
|
||||
access_log.truncate()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user