Skip to content

Commit

Permalink
entrypoint.sh add mkdir
Browse files Browse the repository at this point in the history
Add mkdir for subdirectories of the local directory to prepare for copy.
  • Loading branch information
Mark Bonsack committed Oct 6, 2019
1 parent db72d9f commit 694ae59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package/sbin/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ do
--output-map="$d/{{ .in | strings.ReplaceAll \".conf.tmpl\" \".conf\" }}"
done

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/

echo syslog-ng starting
Expand Down

0 comments on commit 694ae59

Please sign in to comment.