/silversupport/service/writable_root.py

https://bitbucket.org/cuu508/silverlining · Python · 9 lines · 5 code · 3 blank · 1 comment · 0 complexity · ae5051a52c55ac19c226a940c391df74 MD5 · raw file

  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'