mirror of
https://github.com/YunoHost-Apps/wekan_ynh.git
synced 2024-09-03 20:36:09 +02:00
[fix] propagate mongodb service name in yunohost
This commit is contained in:
parent
c4c7657684
commit
d2c180ba13
2 changed files with 2 additions and 2 deletions
|
@ -178,7 +178,7 @@ find "$final_path" -type d -print0 | xargs -0 chmod 750
|
||||||
ynh_print_info --message="Integrating service in YunoHost..."
|
ynh_print_info --message="Integrating service in YunoHost..."
|
||||||
|
|
||||||
yunohost service add $app --description "Wekan daemon"
|
yunohost service add $app --description "Wekan daemon"
|
||||||
yunohost service add mongodb --description "MongoDB daemon" --log "/var/log/mongodb/mongodb.log"
|
yunohost service add $mongodb_servicename --description "MongoDB daemon" --log "/var/log/mongodb/mongodb.log"
|
||||||
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -108,7 +108,7 @@ if ynh_version_gt "1.07~ynh2" "${previous_version}" ; then
|
||||||
ynh_remove_app_dependencies
|
ynh_remove_app_dependencies
|
||||||
ynh_install_app_dependencies "mongodb mongodb-server"
|
ynh_install_app_dependencies "mongodb mongodb-server"
|
||||||
yunohost service remove mongod
|
yunohost service remove mongod
|
||||||
yunohost service add mongodb --log "/var/log/mongodb/mongodb.log"
|
yunohost service add $mongodb_servicename --log "/var/log/mongodb/mongodb.log"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ynh_version_gt "2.56~ynh1" "${previous_version}" ; then
|
if ynh_version_gt "2.56~ynh1" "${previous_version}" ; then
|
||||||
|
|
Loading…
Reference in a new issue