FerryDocs
ConceptsSelf-healing

Shut down ferryd

A graceful shutdown stops the API, then the proxy, then the work in progress.

Edit on GitHub
Terminal
ferryd stop

API. The API accepts no new request. It waits 10 seconds at most for the requests in progress.

1 / 4
What ferryd does after the first signal

A starts with the first : SIGINT (Ctrl-C) or SIGTERM. ferryd stop sends SIGTERM.

Stop immediately

A second signal, or a second ferryd stop, makes ferryd exit immediately. The exit code is 130.

With systemd

ferryd stop waits 60 seconds at most for the server to release its data directory. Give the unit sufficient time to stop.

/etc/systemd/system/ferryd.service
TimeoutStopSec=60

On this page