Skip to content

Commit

Permalink
tweak for triggers directory
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislovecnm committed Mar 2, 2017
1 parent 5d1773e commit fdbc8f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ RUN set -e && echo 'debconf debconf/frontend select Noninteractive' | debconf-se
&& echo "$DI_SHA /sbin/dumb-init" | sha256sum -c - \
&& chmod +x /sbin/dumb-init \
&& chmod +x /ready-probe.sh \
&& mkdir -p /cassandra_data/data \
&& mkdir -p /etc/cassandra \
&& mkdir -p /cassandra_data/data /etc/cassandra/triggers \
&& mv /logback.xml /cassandra.yaml /jvm.options /etc/cassandra/ \
&& mv /usr/local/apache-cassandra-${CASSANDRA_VERSION}/conf/cassandra-env.sh /etc/cassandra/ \
&& adduser --disabled-password --no-create-home --gecos '' --disabled-login cassandra \
Expand Down
2 changes: 1 addition & 1 deletion files/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,6 @@ if [[ $CASSANDRA_OPEN_JMX == 'true' ]]; then
fi

chmod 700 "${CASSANDRA_DATA}"
chown -c -R cassandra "${CASSANDRA_DATA}" "${CASSANDRA_CONF_DIR}"
chown -c -R cassandra: "${CASSANDRA_DATA}" "${CASSANDRA_CONF_DIR}"

su cassandra -c "$CASSANDRA_HOME/bin/cassandra -f"

0 comments on commit fdbc8f7

Please sign in to comment.