mirror of
https://github.com/YunoHost-Apps/friendica_ynh.git
synced 2024-09-03 18:36:14 +02:00
f3168788a6
* add schema * add daemon * finalization * fixes * systemd config renamed to $app-daemon * fixes * fixes * gorgotten yunohost service remove "$app" * fixes * fix StandardOutput * fix this damn pidfile * better comment for posterity * fix yunohost service remove * update config files * fix domain name change * use the provided config file template at install * Auto-update README * post install: show explicitely the admin login (email) * trying to fix the systemd config * fix pidfile config indentation * add log path * remove irrelevant comment * delete an eventual remaining daemon.pid at restoration * fixes * fix a typo for all_users * adding comment: "Removing the cron..." * use ynh_secure_remove instead of rm * add pre upgrade message about the daemon * fix service name * comment --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org>
41 lines
1.3 KiB
PHP
41 lines
1.3 KiB
PHP
<?php
|
|
|
|
// Local configuration
|
|
// Docs: https://github.com/friendica/friendica/blob/stable/static/settings.config.php
|
|
|
|
|
|
return [
|
|
'database' => [
|
|
'hostname' => 'localhost',
|
|
'username' => '__DB_USER__',
|
|
'password' => '__DB_PWD__',
|
|
'database' => '__DB_NAME__',
|
|
'charset' => 'utf8mb4',
|
|
],
|
|
|
|
// ****************************************************************
|
|
// The configuration below will be overruled by the admin panel.
|
|
// Changes made below will only have an effect if the database does
|
|
// not contain any configuration for the friendica system.
|
|
// ****************************************************************
|
|
|
|
'config' => [
|
|
'php_path' => '/usr/bin/php',
|
|
'admin_email' => '__EMAIL__',
|
|
'sitename' => 'Friendica Social Network',
|
|
'register_policy' => \Friendica\Module\Register::OPEN,
|
|
'max_import_size' => 200000,
|
|
'register_text' => '',
|
|
],
|
|
'system' => [
|
|
'url' => 'https://__DOMAIN__',
|
|
'basepath' => '__INSTALL_DIR__',
|
|
'default_timezone' => '__TIMEZONE__',
|
|
'language' => '__LANGUAGE__',
|
|
'pidfile' => '__INSTALL_DIR__/daemon.pid',
|
|
// Blocks search for users who are not logged in to prevent crawlers from blocking your system.
|
|
'local_search' => false,
|
|
'logfile' => '/var/log/friendica/friendica.log',
|
|
'loglevel' => 'notice',
|
|
],
|
|
];
|