Update lutim.conf.template

Comment contact option, in order to force editing lutim.conf before
first run
This commit is contained in:
Luc Didry
2014-02-20 13:40:22 +01:00
parent dee5d0a22e
commit 584e9d2dd2
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -23,6 +23,8 @@ sub startup {
$config->{provis_step} = 5 unless (defined($config->{provis_step}));
$config->{length} = 8 unless (defined($config->{length}));
die "You need to provide a contact information in lutim.conf !" unless (defined($config->{contact}));
$ENV{MOJO_MAX_MESSAGE_SIZE} = $config->{max_file_size} if (defined($config->{max_file_size}));
$self->secrets($config->{secrets});
+2 -2
View File
@@ -6,14 +6,14 @@
user => 'www-data',
group => 'www-data'
},
contact => 'John Doe, admin[at]example.com',
#contact => 'John Doe, admin[at]example.com',
secrets => ['fdjsofjoihrei'], # please provide a random string
piwik_img => 'https://piwik.example.org/piwik.php?idsite=1&rec=1', # optional, only the piwik image tracker is allowed, no javascript
length => 8, # optional
provis_step => 5, # optional
provisioning => 100, # optional
tweet_card_via => '@framasky', # optional
max_file_size => 10485760, # optional, size in octets, you can write it 10*1024*1024
#piwik_img => 'https://piwik.example.org/piwik.php?idsite=1&rec=1', # optional, only the piwik image tracker is allowed, no javascript
#hosted_by => 'My super hoster <img src="http://hoster.example.com" alt="Hoster logo">', # optional
#https => 0, # optional, set to 1 if you use Lutim behind a secure web server
#stats_day_num => 365, # optional, number of days shown in /stats page (used with script/lutim cron stats)