mirror of
https://github.com/restic/rest-server.git
synced 2025-12-07 09:36:13 -08:00
Implement an append only mode.
This commit is contained in:
committed by
Zlatko Čalušić
parent
cff373e8aa
commit
618b530b88
@@ -29,6 +29,7 @@ func init() {
|
||||
flags.StringVar(&restserver.Config.Log, "log", restserver.Config.Log, "log HTTP requests in the combined log format")
|
||||
flags.StringVar(&restserver.Config.Path, "path", restserver.Config.Path, "data directory")
|
||||
flags.BoolVar(&restserver.Config.TLS, "tls", restserver.Config.TLS, "turn on TLS support")
|
||||
flags.BoolVar(&restserver.Config.AppendOnly, "append-only", restserver.Config.AppendOnly, "Enable append only mode")
|
||||
}
|
||||
|
||||
var version = "manually"
|
||||
|
||||
Reference in New Issue
Block a user