The Real Grunfink on Nostr: Hi. The only way to stop a #snac server is by sending it a signal with the kill ...
Hi. The only way to stop a #snac server is by sending it a signal with the kill command, or by configuring it under a service control system like systemd, or rc file, and stopping it from there. You have many examples of how to do this in the examples/ directory of the source repository.
Regarding the use of a Unix socket, just set the address field with the full path to it (instead of an IP address), like described in snac(8), the Administrator Manual:
https://comam.es/snac-doc/snac.8.html#addressPublished at
2024-11-15 18:21:25Event JSON
{
"id": "11a34f5630c6773a3b87dd7ff5a07523c35b1dc63570f3bd1ac63cfe4ed115b8",
"pubkey": "0fbceb8e38272c4e7d199540626739d2246c9b9b957f0b97b5799e0aa28bf2a0",
"created_at": 1731694885,
"kind": 1,
"tags": [
[
"p",
"0e098c119800a111914159559904ac581845a267e5db91bfa7748c0c67b42e00",
"wss://relay.mostr.pub"
],
[
"e",
"20c1b7b754401dd2e5abb7ec89be75c80750e78f08312431bee86a2a36f92839",
"wss://relay.mostr.pub",
"reply"
],
[
"t",
"snac"
],
[
"proxy",
"https://comam.es/snac/grunfink/p/1731694885.016712",
"activitypub"
]
],
"content": "Hi. The only way to stop a #snac server is by sending it a signal with the kill command, or by configuring it under a service control system like systemd, or rc file, and stopping it from there. You have many examples of how to do this in the examples/ directory of the source repository.\n\nRegarding the use of a Unix socket, just set the address field with the full path to it (instead of an IP address), like described in snac(8), the Administrator Manual: https://comam.es/snac-doc/snac.8.html#address\n\n",
"sig": "036b720fdddb6e947503ddab0a794f1d1f2d3cf9ef350fad319c7420900e49bc53fefabda41d3350d537ec0eff0e0c36a20f0ad7ef4739f33869c1445c1693db"
}