Skip to content

Commit 5d2a30c

Browse files
committed
update WorkDirectroy for systemd service
1 parent b523df8 commit 5d2a30c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ansible/roles/osquery/templates/etc/systemd/system/osqueryd.hardening.conf.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RestartSec=5s
99
LimitMEMLOCK=infinity
1010

1111
UMask=0077
12-
WorkingDirectory=/var/ossec
12+
WorkingDirectory={{ osquery_data_path }}
1313

1414
# process hardening
1515
NoNewPrivileges=true

0 commit comments

Comments
 (0)