PageRenderTime 243ms CodeModel.GetById 141ms app.highlight 4ms RepoModel.GetById 77ms 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
1"""Gives a persistent location to keep files, that get served"""
2
3from silversupport.service.files import AbstractFileService
4
5
6class Service(AbstractFileService):
7    root = '/var/lib/silverlining/writable-roots'
8    env_var = 'CONFIG_WRITABLE_ROOT'
9    home_name = 'writable-root'