diff --git a/Dockerfile b/Dockerfile index 87defbc..cb77a75 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ FROM stilliard/pure-ftpd +RUN mv run.sh /run-pure-ftpd.sh ADD run.sh /run.sh diff --git a/run.sh b/run.sh old mode 100644 new mode 100755 index 735a5e1..c5c8e4a --- a/run.sh +++ b/run.sh @@ -7,3 +7,5 @@ pure-pw useradd dt-site \ -m \ -d /sites/dt-site +exec /run-pure-ftpd.sh -c 30 -C 10 -l puredb:/etc/pure-ftpd/pureftpd.pdb -E -j -R -P $PUBLICHOST -p 30000:30059 +