[installation] Init with inital config for global

This commit is contained in:
2025-10-30 15:08:17 +01:00
commit 7640b452ed
3678 changed files with 2200095 additions and 0 deletions

View File

@ -0,0 +1,7 @@
* template: $template
plugin $seedlink.source.id cmd="$seedlink.plugin_dir/orb_plugin -v -S $pkgroot/var/lib/seedlink/${seedlink.station.id}.pkt:100 -m '.*${seedlink.station.code}.${sources.antelope.select}' -o $sources.antelope.address:$sources.antelope.port"
timeout = 600
start_retry = 60
shutdown_wait = 10
proc = "$sources.antelope.proc"

View File

@ -0,0 +1,28 @@
import os
'''
Plugin handler for the Antelope ORB plugin.
'''
class SeedlinkPluginHandler:
# Create defaults
def __init__(self): pass
def push(self, seedlink):
# Default host is localhost
try: seedlink.param('sources.antelope.address')
except: seedlink.setParam('sources.antelope.address', 'localhost')
# Default port is 39136
try: seedlink.param('sources.antelope.port')
except: seedlink.setParam('sources.antelope.port', 39136)
# Select defaults to '*'
try: seedlink.param('sources.antelope.select')
except: seedlink.setParam('sources.antelope.select', '*')
# key is station (one instance per station)
return seedlink.net + "." + seedlink.sta
# Flush does nothing
def flush(self, seedlink):
pass