1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/freshrss_ynh.git synced 2024-09-03 18:36:33 +02:00

switch to multi-instance

This commit is contained in:
Clément 2017-03-05 17:17:14 +01:00
parent 631e734524
commit 64a4c1b8e6
3 changed files with 8 additions and 3 deletions

View file

@ -15,7 +15,7 @@
"requirements": {
"yunohost": ">= 2.4.0"
},
"multi_instance": false,
"multi_instance": true,
"services": [
"nginx",
"php5-fpm",
@ -45,7 +45,7 @@
{
"name": "admin",
"type": "user",
"optional": true,
"optional": false,
"ask": {
"en": "Choose the default user (leave empty if none)",
"fr": "Choisissez l'utilisateur par defaut (laissez vide si aucun)"

View file

@ -36,3 +36,8 @@ extract_freshrss() {
|| ynh_die "Unable to extract FreshRss tarball"
sudo rm "$rc_tarball"
}
install_freshrss_dependencies() {
ynh_package_install_from_equivs ../conf/${DEPS_PKG_NAME}.control \
|| ynh_die "Unable to install dependencies"
}

View file

@ -11,7 +11,7 @@ domain=$1
path=$2
admin_user=$3
# Setup variables
app=$APPNAME
app=$YNH_APP_INSTANCE_NAME
db_user=$app
db_name=$app