1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/selfoss_ynh.git synced 2024-09-03 20:16:21 +02:00
This commit is contained in:
ericgaspar 2022-03-22 13:48:24 +01:00
parent 462ab86fad
commit 814a90d636
No known key found for this signature in database
GPG key ID: 574F281483054D44
5 changed files with 14 additions and 4 deletions

11
conf/config.ini Normal file
View 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__

View file

@ -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__

View file

@ -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"

View file

@ -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

View file

@ -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"