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:
parent
3284923237
commit
1132aac73d
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue