Skip to content

Commit 71823f4

Browse files
committed
fixes
1 parent 4973a39 commit 71823f4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

defaults/main/agent.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ nginx_agent_configure: false
3737
# ca: /path/to/ca
3838

3939
# Specify the log level and path.
40-
# Default is info for the log level and /var/log/nginx-agent.log for the log path.
40+
# Default is info for the log level and /var/log/nginx-agent/ for the log path.
4141
nginx_agent_log:
4242
level: info
43-
path: /var/log/nginx-agent.log
43+
path: /var/log/nginx-agent/
4444

4545
# Specify NGINX specific options within NGINX Agent.
4646
# Default is to not exclude any logs, to use the default socket path and to not treat warnings as errors.

handlers/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
- name: (Handler) Start NGINX Agent
4747
ansible.builtin.service:
4848
name: nginx-agent
49-
state: reloaded
49+
state: restarted
5050
enabled: true
5151

5252
- name: (Handler) Start logrotate

0 commit comments

Comments
 (0)