add global or local as service for sehistory
This commit is contained in:
@ -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
|
||||||
|
@ -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
|
||||||
|
Reference in New Issue
Block a user