diff options
author | Thomas Boerger <tboerger@suse.de> | 2016-11-28 17:16:13 +0100 |
---|---|---|
committer | Thomas Boerger <tboerger@suse.de> | 2016-11-28 17:16:13 +0100 |
commit | 65d0426b915472bd680788158d0c66bbbec9716e (patch) | |
tree | 226026c82f37c7c5a24528e7bfc77bdc5f6ef047 /docker | |
parent | 575dc69e3b3384310e50fff6da227c15f50b3826 (diff) | |
download | gitea-65d0426b915472bd680788158d0c66bbbec9716e.tar.gz gitea-65d0426b915472bd680788158d0c66bbbec9716e.zip |
Use su-exec instead of gosu, much smaller
Diffstat (limited to 'docker')
-rwxr-xr-x | docker/etc/s6/gitea/run | 2 | ||||
-rwxr-xr-x | docker/etc/s6/openssh/run | 2 | ||||
-rwxr-xr-x | docker/etc/s6/syslogd/run | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/docker/etc/s6/gitea/run b/docker/etc/s6/gitea/run index 246e74d27c..1fddb93708 100755 --- a/docker/etc/s6/gitea/run +++ b/docker/etc/s6/gitea/run @@ -2,5 +2,5 @@ [[ -f ./setup ]] && source ./setup pushd /app/gitea > /dev/null - exec gosu git /app/gitea/gitea web + exec su-exec git /app/gitea/gitea web popd diff --git a/docker/etc/s6/openssh/run b/docker/etc/s6/openssh/run index b4c4cb4088..46f422cce6 100755 --- a/docker/etc/s6/openssh/run +++ b/docker/etc/s6/openssh/run @@ -2,5 +2,5 @@ [[ -f ./setup ]] && source ./setup pushd /root > /dev/null - exec gosu root /usr/sbin/sshd -E /var/log/sshd.log -D + exec su-exec root /usr/sbin/sshd -E /var/log/sshd.log -D popd diff --git a/docker/etc/s6/syslogd/run b/docker/etc/s6/syslogd/run index d876093047..2c8d2cf1f2 100755 --- a/docker/etc/s6/syslogd/run +++ b/docker/etc/s6/syslogd/run @@ -2,5 +2,5 @@ [[ -f ./setup ]] && source ./setup pushd /root > /dev/null - exec gosu root /sbin/syslogd -nS -O- + exec su-exec root /sbin/syslogd -nS -O- popd |