mirror of
https://github.com/YunoHost-Apps/selfoss_ynh.git
synced 2024-09-03 20:16:21 +02:00
Fix
This commit is contained in:
parent
462ab86fad
commit
814a90d636
5 changed files with 14 additions and 4 deletions
11
conf/config.ini
Normal file
11
conf/config.ini
Normal file
|
@ -0,0 +1,11 @@
|
|||
[globals]
|
||||
db_type=mysql
|
||||
db_host=localhost
|
||||
db_database=__DB_NAME__
|
||||
db_username=__DB_USER__
|
||||
db_password=__DB_PWD__
|
||||
db_port=3306
|
||||
|
||||
username=__ADMIN__
|
||||
password=__PASSWORD__
|
||||
salt=__SALT__
|
|
@ -12,7 +12,7 @@ logger_destination=file:data/logs/default.log
|
|||
logger_level=DEBUG
|
||||
items_perpage=50
|
||||
items_lifetime=30
|
||||
base_url=__PATH__/
|
||||
base_url=/
|
||||
username=__ADMIN__
|
||||
password=__PASSWORD__
|
||||
salt=__SALT__
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
"upstream": {
|
||||
"license": "AGPL-3.0-only",
|
||||
"website": "https://selfoss.aditu.de/",
|
||||
"demo": "https://demo.example.com",
|
||||
"admindoc": "https://github.com/fossar/selfoss/wiki",
|
||||
"userdoc": "https://selfoss.aditu.de/",
|
||||
"code": "https://github.com/fossar/selfoss"
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
YNH_PHP_VERSION="7.3"
|
||||
|
||||
# dependencies used by the app
|
||||
pkg_dependencies="php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-curl"
|
||||
pkg_dependencies="php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-curl"
|
||||
|
||||
#=================================================
|
||||
# PERSONAL HELPERS
|
||||
|
|
|
@ -112,7 +112,7 @@ ynh_add_fpm_config --usage=low --footprint=low
|
|||
#=================================================
|
||||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||
|
||||
ynh_add_config --template="../conf/defaults.ini" --destination="$final_path/config.ini"
|
||||
ynh_add_config --template="../conf/config.ini" --destination="$final_path/config.ini"
|
||||
|
||||
chmod 400 "$final_path/config.ini"
|
||||
chown $app:$app "$final_path/config.ini"
|
||||
|
|
Loading…
Add table
Reference in a new issue