This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH] himitsud: remove socket after crash

Message ID
DKIM signature
Download raw message
Patch: +1 -0
Currently if himitsud crashes, it leaves behind socket file
$XDG_RUNTIME_DIR/himitsu, which prevents himitsud from restarting.

This patch carefully checks on startup whether this file exists when
the current user is not running himitsud, and cleans it up if necessary.

 himitsud.service | 1 +
 1 file changed, 1 insertion(+)

diff --git a/himitsud.service b/himitsud.service
index 36db6d6..e9ae321 100644
--- a/himitsud.service
+++ b/himitsud.service
@@ -4,4 +4,5 @@ Documentation=man:himitsu(7)

ExecStartPre=sh -c 'if [ -n "$XDG_RUNTIME_DIR" ] && [ -S "$XDG_RUNTIME_DIR/himitsu" ]; then rm "$XDG_RUNTIME_DIR/himitsu"; fi'
Reply to thread Export thread (mbox)