1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/overleaf_ynh.git synced 2024-09-03 19:56:27 +02:00

Several fixes

This commit is contained in:
yalh76 2022-04-24 08:35:36 +02:00
parent db33b94243
commit 0e90089ef1
4 changed files with 3 additions and 5 deletions

View file

@ -14,7 +14,7 @@
upgrade=1
#upgrade=1 from_commit=CommitHash
backup_restore=1
multi_instance=1
multi_instance=0
port_already_use=0
change_url=1
;;; Options

View file

@ -21,7 +21,7 @@
"requirements": {
"yunohost": ">= 4.3.0"
},
"multi_instance": true,
"multi_instance": false,
"services": [
"nginx"
],

View file

@ -111,9 +111,6 @@ ynh_mongo_restore_db --database="$db_name" < ./dump.bson
#=================================================
ynh_script_progression --message="Restoring the systemd configuration..."
ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
systemctl enable $app.service --quiet
ynh_restore_file --origin_path="/etc/systemd/system/$app-chat.service"
systemctl enable $app-chat.service --quiet
ynh_restore_file --origin_path="/etc/systemd/system/$app-clsi.service"

View file

@ -7,6 +7,7 @@
#=================================================
source _common.sh
source ynh_mongo_db
source /usr/share/yunohost/helpers
#=================================================