s6: the s6-svdt-clear program
Keywords: s6 command s6-svdt-clear servicedir death tally clearing process supervision s6-supervise

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.