aboutsummaryrefslogtreecommitdiffstats
path: root/listener.sh
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-10-08 20:13:48 -0700
committerAdam Soltys <[email protected]>2024-10-10 12:17:05 -0700
commit0a2734dfb5ae312f5283f93ab2e3f819ace3f94b (patch)
tree9170fc9bb3c7e9bb5b05ccea407321eb6c7302ef /listener.sh
parent372c635714f6e7de8a0da135980697b49f207f2c (diff)
downloadcoinos-server-0a2734dfb5ae312f5283f93ab2e3f819ace3f94b.tar.gz
coinos-server-0a2734dfb5ae312f5283f93ab2e3f819ace3f94b.zip
nostr revamp wip
Diffstat (limited to 'listener.sh')
-rwxr-xr-xlistener.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/listener.sh b/listener.sh
deleted file mode 100755
index 1d68bb4a..00000000
--- a/listener.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash
-
-# Check if the socket file exists
-if [ -S /sockets/ctrl ]; then
- echo "Socket exists. Unlinking..."
- rm /sockets/ctrl
-fi
-
-# Start socat
-socat UNIX-LISTEN:/sockets/ctrl,reuseaddr,fork SYSTEM:'sh -c "cat | while read line; do output=\$(eval \$line 2>&1); echo \$output; done"'
-