Skip to content

Commit

Permalink
Added a info about PID file in the README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
0x3333 committed Feb 23, 2022
1 parent fb40356 commit fc36411
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ You can even use verbose output, as it will only be sent if an error occurs:
0 0 * * * chronic /usr/bin/backup-rclone -vvv
```

`backup-rclone` will create a PID file, so no overlapping instances will run, an error will be issued.

### Logrotate

It's highly recommended to configure `logrotate` to rotate the log files. A configuration is provided in the repo, `logrotate.conf`, just copy to `/etc/logrotate.d` named `backup-rclone` and you are good to go.
Expand Down

0 comments on commit fc36411

Please sign in to comment.