mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-24 16:40:26 +00:00
small Dockerfiles improvements
remove a debug log from httpd_test
This commit is contained in:
parent
ae094d3479
commit
e5770af2fa
3 changed files with 2 additions and 3 deletions
|
@ -2,6 +2,6 @@
|
|||
|
||||
set -eu
|
||||
|
||||
chown -R "${PUID}:${GUID}" /data /etc/sftpgo /srv/sftpgo/config \
|
||||
chown -R "${PUID}:${GUID}" /data /etc/sftpgo /srv/sftpgo/config /srv/sftpgo/backups \
|
||||
&& exec su-exec "${PUID}:${GUID}" \
|
||||
/bin/sftpgo serve "$@"
|
||||
|
|
|
@ -18,5 +18,5 @@ where `/srv/sftpgo/data`, `/srv/sftpgo/config` and `/srv/sftpgo/backups` are fo
|
|||
|
||||
|
||||
```bash
|
||||
chown -R <UID>:<GID> /srv/sftpgo/data /srv/sftpgo/config
|
||||
chown -R <UID>:<GID> /srv/sftpgo/data /srv/sftpgo/config /srv/sftpgo/backups
|
||||
```
|
|
@ -81,7 +81,6 @@ func TestMain(m *testing.M) {
|
|||
httpdConf.BackupsPath = "test_backups"
|
||||
currentPath, _ := os.Getwd()
|
||||
backupsPath = filepath.Join(currentPath, "..", httpdConf.BackupsPath)
|
||||
logger.DebugToConsole("aaa: %v", backupsPath)
|
||||
os.MkdirAll(backupsPath, 0777)
|
||||
|
||||
sftpd.SetDataProvider(dataProvider)
|
||||
|
|
Loading…
Reference in a new issue