dockerfiles/net/wide/start.sh

13 lines
200 B
Bash
Raw Normal View History

2015-07-20 02:22:51 +00:00
#!/bin/bash
2015-07-20 04:06:43 +00:00
set -x
set -e
2015-07-20 02:22:51 +00:00
chown -R 3434:3434 /wide/app /wide/data
chmod -R a+rwx /wide/data
2015-07-20 04:06:43 +00:00
mkdir -p /wide/app/conf/users ||:
cp /wide/admin.json /wide/app/conf/users/admin.json
2015-07-20 02:22:51 +00:00
su wide '/run.sh'