0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-24 18:12:53 +01:00
gitea/docker/s6/syslogd/run
Jean-Philippe Roemer 9a8aeef478 Add syslog & fix /data/git rights & SOCAT_LINK env var
- Resolve #1893
- Add syslogd to output sshd log on stdout (via `docker logs`)
- Enforce directory rights on `/data/git`, `/data/gogs` & `/data/ssh`
- Add `SOCAT_LINK` environment variable to prevent the creation of scout links when they are not needed (see #1815)
2015-11-04 19:22:15 +00:00

7 lines
96 B
Bash
Executable file

#!/bin/sh
if test -f ./setup; then
source ./setup
fi
exec gosu root /sbin/syslogd -nS -O-