s6
Software
skarnet.org

# The `s6-svdt-clear` program

`s6-svdt-clear` clears the recorded death tally of a service.

## Interface

         s6-svdt-clear servicedir

s6-svdt-clear clears the recorded death tally of the service being currently supervised at the servicedir service directory.

- 0: success
- 100: wrong usage
- 111: system call failed

## Notes

- Use of `s6-svdt-clear` impacts the listings obtained by the s6-svdt command.
- It also impacts the behaviour of the s6-permafailon command. This is the main reason to use `s6-svdt-clear`: once a service has failed permanently due to an excessive number of deaths in a given time, it can be useful to erase that record of deaths before starting the service again, in order to avoid permanently failing again too fast.