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:
parent
06b2aa0a03
commit
3d7d325fd4
4 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue