Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
hexylena committed Jun 2, 2016
1 parent 4bd8917 commit a33105d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ RUN postinst && \
RUN git clone https://github.com/TAMU-CPT/galaxy-apollo tools/apollo && \
cd tools/apollo && \
git checkout 2f6589780d3b8344884e18f4c90d7495bd1f26b9

ADD fix_perms.sh /bin/fix_perms
ADD fix_perms.conf /etc/supervisor/conf.d/apollo.conf
8 changes: 8 additions & 0 deletions fix_perms.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[program:apollo_permissions]
directory = /
command = /bin/fix_perms
autostart = true
autorestart = unexpected
user = root
startsecs = 1
redirect_stderr = true
5 changes: 5 additions & 0 deletions fix_perms.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
while true; do
chmod 777 -R /apollo-data/
sleep 60;
done;

0 comments on commit a33105d

Please sign in to comment.