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

Using option '--log_type systemd' with 'yunohost service add' is not relevant anymore

This commit is contained in:
yalh76 2020-12-24 20:07:02 +01:00
parent d30ceda76d
commit 7b8aacd323
3 changed files with 4 additions and 4 deletions

View file

@ -152,7 +152,7 @@ find "$final_path" -type d -print0 | xargs -0 chmod 750
#================================================= #=================================================
ynh_script_progression --message="Integrating service in YunoHost..." ynh_script_progression --message="Integrating service in YunoHost..."
yunohost service add $app --description "Wekan daemon" --log_type "systemd" yunohost service add $app --description "Wekan daemon"
yunohost service add $mongodb_servicename --description "MongoDB daemon" --log "/var/log/mongodb/mongodb.log" yunohost service add $mongodb_servicename --description "MongoDB daemon" --log "/var/log/mongodb/mongodb.log"
#================================================= #=================================================

View file

@ -113,7 +113,7 @@ systemctl enable $app.service --quiet
#================================================= #=================================================
ynh_script_progression --message="Integrating service in YunoHost..." ynh_script_progression --message="Integrating service in YunoHost..."
yunohost service add $app --description "Wekan daemon" --log_type "systemd" yunohost service add $app --description "Wekan daemon"
#================================================= #=================================================
# START SYSTEMD SERVICE # START SYSTEMD SERVICE

View file

@ -91,7 +91,7 @@ fi
if ynh_version_gt "0.45-3" "${previous_version}" ; then if ynh_version_gt "0.45-3" "${previous_version}" ; then
ynh_script_progression --message="Upgrading to 0.45-3..." ynh_script_progression --message="Upgrading to 0.45-3..."
yunohost service add $app --description "Wekan daemon" --log_type "systemd" yunohost service add $app --description "Wekan daemon"
fi fi
if ynh_version_gt "1.07~ynh2" "${previous_version}" ; then if ynh_version_gt "1.07~ynh2" "${previous_version}" ; then
@ -102,7 +102,7 @@ if ynh_version_gt "1.07~ynh2" "${previous_version}" ; then
rm -f /etc/apt/sources.list.d/mongodb-org-3.2.list rm -f /etc/apt/sources.list.d/mongodb-org-3.2.list
ynh_remove_app_dependencies ynh_remove_app_dependencies
ynh_install_app_dependencies "mongodb mongodb-server" ynh_install_app_dependencies "mongodb mongodb-server"
yunohost service add $app --description "Wekan daemon" --log_type "systemd" yunohost service add $app --description "Wekan daemon"
fi fi
if ynh_version_gt "2.56~ynh1" "${previous_version}" ; then if ynh_version_gt "2.56~ynh1" "${previous_version}" ; then