Skip to content

Commit

Permalink
Merge pull request #1 from enst/master
Browse files Browse the repository at this point in the history
vol
  • Loading branch information
enst committed Jul 28, 2015
2 parents 42a49f9 + 9b29592 commit 58d780a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN yum -y --nogpgcheck localinstall http://repo.2600hz.com/Stable/CentOS_6/x86_

ADD entrypoint.sh /root/

VOLUME ["/var/log"]
VOLUME ["/var/lib/rabbitmq", "/opt/kazoo/log", "/var/log/2600hz"]

ENTRYPOINT ["/root/entrypoint.sh"]

Expand Down
3 changes: 3 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash

chown rabbitmq:daemon /var/lib/rabbitmq/ -R \
&& chown kazoo:daemon /opt/kazoo /var/log/2600hz -R

service rabbitmq-server restart
sleep 5
service kz-whistle_apps restart
Expand Down

0 comments on commit 58d780a

Please sign in to comment.