mirror of
https://framagit.org/fiat-tux/hat-softwares/lutim.git
synced 2026-08-07 01:12:49 +02:00
Update lutim.conf.template
Comment contact option, in order to force editing lutim.conf before first run
This commit is contained in:
@@ -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
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user