Skip to content

Commit

Permalink
add a note to readme about changing temporary directory using environ…
Browse files Browse the repository at this point in the history
…ment variables
  • Loading branch information
toy committed Aug 24, 2020
1 parent 3d5e234 commit 42ba891
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,10 @@ optipng:
level: 5
```
### Temporary directory
`image_optim` uses standard ruby library for creating temporary files. Temporary directory can be changed using one of `TMPDIR`, `TMP` or `TEMP` environment variables.

## Options

* `:nice` — Nice level, priority of all used tools with higher value meaning lower priority, in range `-20..19`, negative values can be set only if run by root user *(defaults to `10`)*
Expand Down

0 comments on commit 42ba891

Please sign in to comment.