From 4fddf02c829685eadd44175d77d1461abb70d7a7 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Thu, 13 Oct 2016 14:04:19 +0200 Subject: [PATCH] start as root --- Dockerfile | 2 +- rootfs/etc/confd/templates/proftpd.conf.tmpl | 2 +- rootfs/etc/services.d/proftpd/run | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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