Skip to content

Commit daa5402

Browse files
authored
add unregister_on_exit (#1020)
* add unregister_on_exit
1 parent f73acea commit daa5402

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

crowdsec-docs/docs/configuration/values_parameters.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,12 @@ lapi:
138138

139139
config:
140140
config.yaml.local: |
141-
# This is needed for agent autoregistration
142141
api:
142+
client:
143+
# the log processor will remove delete itself from LAPI when stopping.
144+
unregister_on_exit: true
143145
server:
146+
# This is needed for agent autoregistration
144147
auto_registration: # Activate if not using TLS for authentication
145148
enabled: true
146149
token: "${REGISTRATION_TOKEN}" # /!\ Do not modify this variable (auto-generated and handled by the chart)

0 commit comments

Comments
 (0)