1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ihatemoney_ynh.git synced 2024-09-03 19:26:15 +02:00

Fix ynh_systemd_action: log_path is now /var/log/$app/$app.log, the default.

This commit is contained in:
Félix Piédallu 2023-09-05 14:01:32 +02:00
parent bb0bf80ed3
commit c02516eefd
4 changed files with 5 additions and 5 deletions

View file

@ -77,7 +77,7 @@ fi
#=================================================
ynh_script_progression --message="Stopping a systemd service..." --weight=1
ynh_systemd_action --service_name=$app --action="stop" --log_path=systemd
ynh_systemd_action --service_name=$app --action="stop"
#=================================================
# MODIFY URL IN NGINX CONF
@ -132,7 +132,7 @@ chown $app:$app "$final_path/ihatemoney.cfg"
ynh_script_progression --message="Starting a systemd service..." --weight=5
# Start a systemd service
ynh_systemd_action --service_name=$app --action="start" --log_path=systemd
ynh_systemd_action --service_name=$app --action="start"
#=================================================
# RELOAD NGINX

View file

@ -161,7 +161,7 @@ yunohost service add $app --description="$app daemon for IHateMoney" --log=syste
ynh_script_progression --message="Starting a systemd service..." --weight=1
# Start a systemd service
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Listening at"
ynh_systemd_action --service_name=$app --action="start" --line_match="Listening at"
# line_match isn't enough because ihatemoney may stop if database upgrades
for _ in {1..20}; do

View file

@ -114,7 +114,7 @@ yunohost service add $app --description="$app daemon for IHateMoney" --log=syste
#=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=1
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Listening at"
ynh_systemd_action --service_name=$app --action="start" --line_match="Listening at"
# line_match isn't enough because ihatemoney may stop if database upgrades
for _ in {1..20}; do

View file

@ -214,7 +214,7 @@ yunohost service add $app --description="$app daemon for IHateMoney" --log=syste
#=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=1
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Listening at"
ynh_systemd_action --service_name=$app --action="start" --line_match="Listening at"
# line_match isn't enough because ihatemoney may stop if database upgrades
for _ in {1..20}; do