forked from kevadesu/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:
parent
603c7389b8
commit
9a8aeef478
4 changed files with 33 additions and 19 deletions
|
@ -23,4 +23,5 @@ fi
|
|||
|
||||
# Set correct right to ssh keys
|
||||
chown -R root:root /data/ssh/*
|
||||
chmod 600 /data/ssh/*
|
||||
chmod 0700 /data/ssh
|
||||
chmod 0600 /data/ssh/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue