Skip to content
Newer
Older
100755 17 lines (10 sloc) 383 Bytes
717e5b8 @priteau Add env python shebang to these example scripts
priteau authored
1 #!/usr/bin/env python
2
6a56d17 @oldpatricka Add bootstrapping code
oldpatricka authored
3 from dashi.bootstrap import Service
4
717e5b8 @priteau Add env python shebang to these example scripts
priteau authored
5
6a56d17 @oldpatricka Add bootstrapping code
oldpatricka authored
6 class TestService(Service):
7
8 def __init__(self, *args, **kwargs):
9 super(TestService, self).__init__(*args, **kwargs)
10 self.log = self.get_logger()
11
12 self.log.info("%s started" % self.__class__.__name__)
13 self.log.info("config: %s" % self.CFG)
14
15 if __name__ == "__main__":
16 TestService()
Something went wrong with that request. Please try again.