mirror of
https://github.com/YunoHost-Apps/wekan_ynh.git
synced 2024-09-03 20:36:09 +02:00
reorder
This commit is contained in:
parent
78f4cdb823
commit
b0b47eacd0
1 changed files with 2 additions and 2 deletions
|
@ -87,12 +87,12 @@ if ynh_version_gt "1.07~ynh2" "${previous_version}" ; then
|
||||||
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 --log "/var/log/mongodb/mongodb.log"
|
||||||
ynh_use_nodejs
|
|
||||||
|
|
||||||
# Gotta regen the systemd config because mongodb service name changed
|
# Gotta regen the systemd config because mongodb service name changed
|
||||||
|
ynh_use_nodejs
|
||||||
ynh_replace_string "__ENV_PATH__" "$nodejs_path" "../conf/systemd.service"
|
ynh_replace_string "__ENV_PATH__" "$nodejs_path" "../conf/systemd.service"
|
||||||
ynh_replace_string "__DB_NAME__" "$db_name" "../conf/systemd.service"
|
ynh_replace_string "__DB_NAME__" "$db_name" "../conf/systemd.service"
|
||||||
ynh_replace_string "__DOMAIN_URI__" "$domain$path_url" "../conf/systemd.service"
|
ynh_replace_string "__DOMAIN_URI__" "$domain$path_url" "../conf/systemd.service"
|
||||||
ynh_replace_string "__PORT__" "$port" "../conf/systemd.service"
|
ynh_replace_string "__PORT__" "$port" "../conf/systemd.service"
|
||||||
ynh_add_systemd_config
|
ynh_add_systemd_config
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue