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_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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user