PageRenderTime 55ms CodeModel.GetById 17ms RepoModel.GetById 2ms app.codeStats 0ms

/silversupport/service/writable_root.py

https://bitbucket.org/ianb/silverlining/
Python | 9 lines | 5 code | 3 blank | 1 comment | 0 complexity | ae5051a52c55ac19c226a940c391df74 MD5 | raw file
Possible License(s): GPL-2.0
  1. """Gives a persistent location to keep files, that get served"""
  2. from silversupport.service.files import AbstractFileService
  3. class Service(AbstractFileService):
  4. root = '/var/lib/silverlining/writable-roots'
  5. env_var = 'CONFIG_WRITABLE_ROOT'
  6. home_name = 'writable-root'