[seiscomp, scanloc] Install, add .gitignore

This commit is contained in:
2025-10-09 15:07:02 +02:00
commit 20f5301bb1
2848 changed files with 1315858 additions and 0 deletions

View File

@ -0,0 +1,6 @@
* template: $template
plugin $seedlink.source.id cmd="$seedlink.plugin_dir/sock_plugin -v -s $sources.liss.address -p $sources.liss.port -n $seedlink.station.network"
timeout = 600
start_retry = 60
shutdown_wait = 10

View File

@ -0,0 +1,26 @@
import os
'''
Plugin handler for the liss plugin.
'''
class SeedlinkPluginHandler:
# Create defaults
def __init__(self): pass
def push(self, seedlink):
try: host = seedlink.param('sources.liss.address')
except: host = "$STATION.$NET.liss.org"
try: port = seedlink.param('sources.liss.port')
except:
port = "4000"
seedlink.setParam('sources.liss.port', port)
host = host.replace("$STATION", seedlink.sta).replace("$NET", seedlink.net)
seedlink.setParam('sources.liss.address', host)
# key is station (one instance per station)
return seedlink.net + "." + seedlink.sta
# Flush does nothing
def flush(self, seedlink):
pass