~cmars/charms/trusty/wallabag/trunk

« back to all changes in this revision

Viewing changes to hooks/start

  • Committer: cmars at cmarstech
  • Date: 2016-01-24 01:28:16 UTC
  • Revision ID: cmars@cmarstech.com-20160124012816-6jmftrwssxpfnw4l
Initial commit of wallabag charm

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env python3
 
2
 
 
3
# Load modules from $CHARM_DIR/lib
 
4
import sys
 
5
sys.path.append('lib')
 
6
 
 
7
from charms.bootstrap import bootstrap_charm_deps
 
8
bootstrap_charm_deps()
 
9
 
 
10
 
 
11
# This will load and run the appropriate @hook and other decorated
 
12
# handlers from $CHARM_DIR/reactive, $CHARM_DIR/hooks/reactive,
 
13
# and $CHARM_DIR/hooks/relations.
 
14
#
 
15
# See https://jujucharms.com/docs/stable/getting-started-with-charms-reactive
 
16
# for more information on this pattern.
 
17
from charms.reactive import main
 
18
main()