summaryrefslogtreecommitdiff
path: root/issues/tissue-does-not-clean-up-unix-socket-when-deployed-with-shepherd.gmi
blob: 90092e677be90342b6b4d95c0153db423859a5f6 (plain)
1
2
3
4
5
6
7
8
9
# tissue does not clean up Unix socket when deployed with shepherd

* tags: bug

When deployed with shepherd, and stopped using something like herd stop tissue, the tissue web server does not clean up its Unix socket. This means the next attempt to start tissue fails since the Unix socket file exists already.

However, when tissue-web is run on the command-line and terminated with a Ctrl-C (SIGINT), it cleans up its Unix socket correctly.

This issue is likely because tissue is not handling the SIGTERM signal correctly.