Skip to content

Commit

Permalink
docs(postprocessing): update docs
Browse files Browse the repository at this point in the history
Signed-off-by: jkoberg <jkoberg@owncloud.com>
  • Loading branch information
kobergj committed Nov 4, 2024
1 parent 6ea3f2f commit 64ff815
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions services/postprocessing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,5 @@ ocis postprocessing restart # Restarts all uploads where postproc
ocis postprocessing restart -s "finished" # Equivalent to the above
ocis postprocessing restart -s "virusscan" # Restart all uploads currently in virusscan step
```
Note: All above commands containing the word `restart` can also be replaced by `resume`. This changes behaviour slightly. When `restarting` an upload, the whole postprocessing will be (re)done. If `resuming` an upload, it will only continue from the last step that was completed.
2 changes: 1 addition & 1 deletion services/postprocessing/pkg/command/postprocessing.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func RestartPostprocessing(cfg *config.Config) *cli.Command {
return &cli.Command{
Name: "resume",
Aliases: []string{"restart"},
Usage: "restart postprocessing for an uploadID",
Usage: "resume postprocessing for an uploadID",
Flags: []cli.Flag{
&cli.StringFlag{
Name: "upload-id",
Expand Down

0 comments on commit 64ff815

Please sign in to comment.