Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

Commit

Permalink
Add script to reset a single users session, resolves #198
Browse files Browse the repository at this point in the history
Signed-off-by: Soenke Huster <me@eknoes.de>
  • Loading branch information
eknoes committed Sep 6, 2021
1 parent 2ba1414 commit 8cc0c56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/signal-reset-session.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/bash
signald() {
echo "$1" | nc -U /var/run/signald/signald.sock | jq 'select(.type != "version")'
echo "$1" | timeout 3 nc -U /var/run/signald/signald.sock | jq 'select(.type != "version")'
}

if [ -z "$1" ]
Expand Down

0 comments on commit 8cc0c56

Please sign in to comment.