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

Fix: install problem. Service line-match has changed

This commit is contained in:
Fabian Wilkens 2021-11-23 21:14:39 +01:00
parent 3284923237
commit 1132aac73d
No known key found for this signature in database
GPG key ID: 23DFA025BB4E9FAB
3 changed files with 3 additions and 3 deletions

View file

@ -325,7 +325,7 @@ ynh_systemd_action \
--service_name="$app-api-gateway" \
--action="start" \
--log_path="/var/log/$app/api-gateway.log" \
--line_match='{"message":"Server started on port '$port_api_gateway'","level":"info"}'
--line_match='{"level":"info","message":"Server started on port '$port_api_gateway'"}'
#=================================================
# SETUP FAIL2BAN

View file

@ -226,7 +226,7 @@ ynh_systemd_action \
--service_name="$app-api-gateway" \
--action="start" \
--log_path="/var/log/$app/api-gateway.log" \
--line_match='{"message":"Server started on port '$port_api_gateway'","level":"info"}'
--line_match='{"level":"info","message":"Server started on port '$port_api_gateway'"}'
#=================================================
# RESTORE THE LOGROTATE CONFIGURATION

View file

@ -552,7 +552,7 @@ ynh_systemd_action \
--service_name="$app-api-gateway" \
--action="start" \
--log_path="/var/log/$app/api-gateway.log" \
--line_match='{"message":"Server started on port '$port_api_gateway'","level":"info"}'
--line_match='{"level":"info","message":"Server started on port '$port_api_gateway'"}'
#=================================================
# SETUP FAIL2BAN