1
0
Fork 0
forked from forgejo/forgejo

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)
This commit is contained in:
Jean-Philippe Roemer 2015-11-04 19:19:39 +00:00
parent 603c7389b8
commit 9a8aeef478
4 changed files with 33 additions and 19 deletions

7
docker/s6/syslogd/run Executable file
View file

@ -0,0 +1,7 @@
#!/bin/sh
if test -f ./setup; then
source ./setup
fi
exec gosu root /sbin/syslogd -nS -O-