mirror of
https://github.com/linuxserver/docker-syncthing.git
synced 2026-04-13 00:04:36 +08:00
12 lines
383 B
Plaintext
12 lines
383 B
Plaintext
#!/usr/bin/with-contenv bash
|
|
|
|
if [ -n "${UMASK_SET}" ] && [ -z "${UMASK}" ]; then
|
|
echo -e "You are using a legacy method of defining umask\nplease update your environment variable from UMASK_SET to UMASK\nto keep the functionality after July 2021"
|
|
umask ${UMASK_SET}
|
|
fi
|
|
|
|
exec \
|
|
s6-setuidgid abc syncthing \
|
|
-home=/config -no-browser -no-restart \
|
|
--gui-address="0.0.0.0:8384"
|