Skip to content

Commit

Permalink
Merge pull request #302 from splunk/fix/version_string
Browse files Browse the repository at this point in the history
Fix version string in `/entrypoint.sh`
  • Loading branch information
Ryan Faircloth authored and GitHub committed Feb 3, 2020
2 parents f946ce1 + 55f37c8 commit 6c3bdf2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions package/sbin/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash
source scl_source enable rh-python36

# The follwoing will be addressed in a future release
# source scl_source enable rh-python36

# The MICROFOCUS_ARCSIGHT unique port environment variables are currently deprecated
# This will be removed when the MICROFOCUS_ARCSIGHT unique port environment variables are removed in version 2.0
Expand All @@ -20,8 +22,8 @@ for file in /opt/syslog-ng/etc/conf.d/local/context/*.example ; do cp --verbose
cp --verbose -R /opt/syslog-ng/etc/local_config/* /opt/syslog-ng/etc/conf.d/local/config/

echo syslog-ng checking config
echo sc4s version=$(cat /version)
echo sc4s version=$(cat /version) >/var/log/syslog-ng.out
echo sc4s version=$(cat /VERSION)
echo sc4s version=$(cat /VERSION) >/var/log/syslog-ng.out
/opt/syslog-ng/sbin/syslog-ng -s >>/var/log/syslog-ng.out 2>/var/log/syslog-ng.err

echo syslog-ng starting
Expand Down

0 comments on commit 6c3bdf2

Please sign in to comment.