diff --git a/Dockerfile b/Dockerfile index 67255e6..017c209 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,4 +23,4 @@ WORKDIR / RUN apk del tar gcc make g++ openldap-dev -EXPOSE 2121 +EXPOSE 21 diff --git a/rootfs/etc/confd/templates/proftpd.conf.tmpl b/rootfs/etc/confd/templates/proftpd.conf.tmpl index ba2f7fb..f0c89dc 100644 --- a/rootfs/etc/confd/templates/proftpd.conf.tmpl +++ b/rootfs/etc/confd/templates/proftpd.conf.tmpl @@ -1,7 +1,7 @@ ServerName "{{getenv "SERVER_NAME"}}" ServerType standalone DefaultServer on -Port 2121 +Port 21 UseIPv6 off Umask 022 MaxInstances 30 diff --git a/rootfs/etc/services.d/proftpd/run b/rootfs/etc/services.d/proftpd/run index e89b766..baf408e 100644 --- a/rootfs/etc/services.d/proftpd/run +++ b/rootfs/etc/services.d/proftpd/run @@ -1,3 +1,3 @@ #!/usr/bin/with-contenv sh -exec s6-setuidgid proftp proftpd --nodaemon +exec proftpd --nodaemon