Skip to content

Commit

Permalink
Revert to /dev/fd/1
Browse files Browse the repository at this point in the history
  • Loading branch information
tsigouris007 committed Mar 5, 2024
1 parent 9a75396 commit 1c3dd9a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ RUN dpkg -i "${WORKDIR}/crowdstrike.deb"

# Prepare a simple user instead of root
RUN groupadd -g 1000 user && useradd -r -u 1000 -g user user
RUN ln -s /proc/self/fd/1 /var/log/crowdstrike/falconhoseclient/output
RUN chown -R user:user /var/log/crowdstrike/falconhoseclient
RUN chmod -R 755 /var/log/crowdstrike/falconhoseclient
RUN chown -R user:user /opt/crowdstrike/etc
Expand Down
2 changes: 1 addition & 1 deletion cfg/cs.falconhoseclient.cfg.template
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ output_format = json
# Will be true regardless if Syslog is not enabled
# If path does not exist or user has no permission, log file will be used
output_to_file = true
output_path = /var/log/crowdstrike/falconhoseclient/output
output_path = /dev/fd/1

# Offset file full filepath and filename
offset_path = /var/log/crowdstrike/falconhoseclient/stream_offsets
Expand Down

0 comments on commit 1c3dd9a

Please sign in to comment.