add default config keys
authorYves-Marie Haussonne <ymh.work+github@gmail.com>
Thu, 20 Jun 2013 15:42:31 +0200
changeset 40 65b4e4674550
parent 39 87f20236ea99
child 41 8d774f0b6182
add default config keys
sbin/sync/config.py.tmpl
--- a/sbin/sync/config.py.tmpl	Thu Jun 20 15:11:47 2013 +0200
+++ b/sbin/sync/config.py.tmpl	Thu Jun 20 15:42:31 2013 +0200
@@ -51,7 +51,21 @@
         'haystack_url' : 'http://localhost:9200',
         'haystack_index' : 'aixweb',
         'log_file' :  '/var/log/ldt/aixweb.log',
-        'secret_key' : ''.join([choice('abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*(-_=+)') for i in range(50)]), 
+        'secret_key' : ''.join([choice('abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*(-_=+)') for i in range(50)]),
+        'stream_url' : 'http://176.31.235.78/media',
+        'stream_src_prefix' : '', 
+        'ffmpeg_path' : '', 
+        'google_analytics_code' : '', 
+        'email_use_tls' : 'False',
+        'email_host' :'',
+        'email_host_user' :'',
+        'email_port': 0,
+        'forbidden_stream_url': '', 
+        'audio_record_url': '', 
+        'asctime' : '%(asctime)s',
+        'levelname' : '%(levelname)s',
+        'message' : '%(message)s',
+        'module' : '%(module)s'
     },
 }