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

Fix systemd log_match

This commit is contained in:
Salamandar 2024-02-24 18:11:58 +01:00
parent 9f582393e7
commit cf2598548a

View file

@ -42,8 +42,8 @@ chown "$app:$app" "$install_dir/.env"
ynh_script_progression --message="Starting $app's systemd service..." ynh_script_progression --message="Starting $app's systemd service..."
# Start a systemd service # Start a systemd service
ynh_systemd_action --service_name="$app-web" --action="start" --log_path="/var/log/$app/$app-web.log" --line_match="listening on addr" ynh_systemd_action --service_name="$app-web" --action="start" --log_path="$install_dir/log/unicorn.log" --line_match="listening on addr"
ynh_systemd_action --service_name="$app-jobs" --action="start" --log_path="$install_dir/log/huginn-jobs.log" --line_match="listening on addr" ynh_systemd_action --service_name="$app-jobs" --action="start" --log_path="$install_dir/log/huginn-jobs.log"
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT