mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-14 01:04:14 +00:00
9 lines
155 B
Bash
Executable File
9 lines
155 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -eu
|
|
|
|
chown "${PUID}:${PGID}" /var/syncthing \
|
|
&& exec su-exec "${PUID}:${PGID}" \
|
|
env HOME=/var/syncthing \
|
|
/bin/syncthing "$@"
|