summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/etc/s6/gitea/run2
-rwxr-xr-xdocker/etc/s6/openssh/run2
-rwxr-xr-xdocker/etc/s6/syslogd/run2
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