add global or local as service for sehistory

This commit is contained in:
2025-04-29 15:36:54 +02:00
parent 3beb31cfc7
commit 7a09db0eab
2 changed files with 12 additions and 7 deletions

View File

@ -19,11 +19,16 @@ sea_command = ./SeaServer %(serv)s.tcl
SEWEB_ROOT = ~/seweb SEWEB_ROOT = ~/seweb
SEWEB_PORT = 8941 SEWEB_PORT = 8941
SEWEB_HISTORY = ~/seweb/history seweb_command = ~/sevenv/bin/python secop-webserver %(port)s
seweb_command = python3 seweb.py frappy ins=%(ins)s port=%(port)s
PYTHONPATH = ~ SEHISTORY_ROOT = ~/sehistory
SEHISTORY_PORT = 0
sehistory_command = ~/sevenv/bin/python feeder.py %(service)s
PYTHONPATH = ~:~/frappy
[MAIN] [MAIN]
frappy = 1 frappy = 1
sea = 1 sea = 1
seweb = 1
sehistory = 1

View File

@ -24,13 +24,13 @@ from servicemanager.base import ServiceManager
class SehistoryManager(ServiceManager): class SehistoryManager(ServiceManager):
group = 'sehistory' group = 'sehistory'
services = ('sehistory',) services = ('central', 'local')
USAGE = """ USAGE = """
Usage: Usage:
sehistory start <instance> sehistory start <instance> <service>
sehistory restart <instance> sehistory restart <instance> <service>
sehistory stop <instance> sehistory stop <instance> <service>
sehistory list [<instance>] sehistory list [<instance>]
%s %s