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_PORT = 8941
SEWEB_HISTORY = ~/seweb/history
seweb_command = python3 seweb.py frappy ins=%(ins)s port=%(port)s
seweb_command = ~/sevenv/bin/python secop-webserver %(port)s
PYTHONPATH = ~
SEHISTORY_ROOT = ~/sehistory
SEHISTORY_PORT = 0
sehistory_command = ~/sevenv/bin/python feeder.py %(service)s
PYTHONPATH = ~:~/frappy
[MAIN]
frappy = 1
sea = 1
seweb = 1
sehistory = 1

View File

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