Skip to content

Commit

Permalink
Update entrypoint.sh (#194)
Browse files Browse the repository at this point in the history
This fix prevents an error on upgrade when changes are made to example configs
  • Loading branch information
Ryan Faircloth authored and GitHub committed Nov 15, 2019
1 parent 906e609 commit c2916e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/sbin/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ gomplate $(find . -name *.tmpl | sed -E 's/^(\/.*\/)*(.*)\..*$/--file=\2.tmpl --
mkdir -p /opt/syslog-ng/etc/conf.d/local/context/
mkdir -p /opt/syslog-ng/etc/conf.d/local/config/
cp --verbose -n /opt/syslog-ng/etc/context_templates/* /opt/syslog-ng/etc/conf.d/local/context/
cp --verbose -R -n /opt/syslog-ng/etc/local_config/* /opt/syslog-ng/etc/conf.d/local/config/
cp --verbose -R /opt/syslog-ng/etc/local_config/* /opt/syslog-ng/etc/conf.d/local/config/

echo syslog-ng starting
exec /opt/syslog-ng/sbin/syslog-ng $@

0 comments on commit c2916e3

Please sign in to comment.