Unix Socket listener for S3 server (#4621)

Add localSocket option to s3 server
This commit is contained in:
Amir H. Yeganemehr
2023-06-27 01:22:45 +02:00
committed by GitHub
parent 4d64bdba65
commit f0d3c874b6
3 changed files with 28 additions and 2 deletions

View File

@@ -147,6 +147,7 @@ func init() {
s3Options.auditLogConfig = cmdServer.Flag.String("s3.auditLogConfig", "", "path to the audit log config file")
s3Options.allowEmptyFolder = cmdServer.Flag.Bool("s3.allowEmptyFolder", true, "allow empty folders")
s3Options.allowDeleteBucketNotEmpty = cmdServer.Flag.Bool("s3.allowDeleteBucketNotEmpty", true, "allow recursive deleting all entries along with bucket")
s3Options.localSocket = cmdServer.Flag.String("s3.localSocket", "", "default to /tmp/seaweedfs-s3-<port>.sock")
iamOptions.port = cmdServer.Flag.Int("iam.port", 8111, "iam server http listen port")