mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 03:18:59 +00:00
3dc3e01f80
su-exec sets $HOME, and we used to have this env call in there to fix that up. It disappeared in the latest entrypoint.sh rewrite.
8 lines
121 B
Bash
Executable File
8 lines
121 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -eu
|
|
|
|
chown "${PUID}:${PGID}" "${HOME}" \
|
|
&& exec su-exec "${PUID}:${PGID}" \
|
|
env HOME="$HOME" "$@"
|