mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 14:50:55 +03:00
8 lines
162 B
Bash
Executable File
8 lines
162 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -eu
|
|
|
|
chown -R "${PUID}:${GUID}" /data /etc/sftpgo /srv/sftpgo/config /srv/sftpgo/backups \
|
|
&& exec su-exec "${PUID}:${GUID}" \
|
|
/bin/sftpgo "$@"
|