Skip to content

Commit

Permalink
document signals
Browse files Browse the repository at this point in the history
  • Loading branch information
sstark committed Oct 27, 2018
1 parent cc1aac7 commit 640b74a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,18 @@ current backup has finished, and exit afterwards.
You can find the pid of the running process in the repository directory in the
file `.pid`.

Signals
-------

snaprd responds to various signals.

- **INT**, **TERM**: Makes snaprd exit immediately, killing a potentially
running rsync process using the same signal.
- **USR1**: While rsync is running, wait until it finished, then exit.
Otherwise just exit.
- **USR2**: If snaprd is idle waiting for the next scheduled snapshot,
sending SIGUSR2 will cancel this waiting time and force an immediate
snapshot.

Schedules
---------
Expand Down

0 comments on commit 640b74a

Please sign in to comment.