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:
parent
631e734524
commit
64a4c1b8e6
3 changed files with 8 additions and 3 deletions
|
@ -15,7 +15,7 @@
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"yunohost": ">= 2.4.0"
|
"yunohost": ">= 2.4.0"
|
||||||
},
|
},
|
||||||
"multi_instance": false,
|
"multi_instance": true,
|
||||||
"services": [
|
"services": [
|
||||||
"nginx",
|
"nginx",
|
||||||
"php5-fpm",
|
"php5-fpm",
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
{
|
{
|
||||||
"name": "admin",
|
"name": "admin",
|
||||||
"type": "user",
|
"type": "user",
|
||||||
"optional": true,
|
"optional": false,
|
||||||
"ask": {
|
"ask": {
|
||||||
"en": "Choose the default user (leave empty if none)",
|
"en": "Choose the default user (leave empty if none)",
|
||||||
"fr": "Choisissez l'utilisateur par defaut (laissez vide si aucun)"
|
"fr": "Choisissez l'utilisateur par defaut (laissez vide si aucun)"
|
||||||
|
|
|
@ -36,3 +36,8 @@ extract_freshrss() {
|
||||||
|| ynh_die "Unable to extract FreshRss tarball"
|
|| ynh_die "Unable to extract FreshRss tarball"
|
||||||
sudo rm "$rc_tarball"
|
sudo rm "$rc_tarball"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
install_freshrss_dependencies() {
|
||||||
|
ynh_package_install_from_equivs ../conf/${DEPS_PKG_NAME}.control \
|
||||||
|
|| ynh_die "Unable to install dependencies"
|
||||||
|
}
|
||||||
|
|
|
@ -11,7 +11,7 @@ domain=$1
|
||||||
path=$2
|
path=$2
|
||||||
admin_user=$3
|
admin_user=$3
|
||||||
# Setup variables
|
# Setup variables
|
||||||
app=$APPNAME
|
app=$YNH_APP_INSTANCE_NAME
|
||||||
db_user=$app
|
db_user=$app
|
||||||
db_name=$app
|
db_name=$app
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue