update getsestuff (feeder)
+ replace 'service' by 'serv' in cfg/*.cfg
This commit is contained in:
@ -23,7 +23,7 @@ seweb_command = ~/sevenv/bin/python secop-webserver %(port)s
|
|||||||
|
|
||||||
FEEDER_ROOT = ~/sehistory
|
FEEDER_ROOT = ~/sehistory
|
||||||
FEEDER_PORT = 0
|
FEEDER_PORT = 0
|
||||||
feeder_command = ~/sevenv/bin/python feeder.py %(service)s
|
feeder_command = ~/sevenv/bin/python feeder.py %(serv)s
|
||||||
|
|
||||||
PYTHONPATH = ~:~/frappy
|
PYTHONPATH = ~:~/frappy
|
||||||
|
|
||||||
|
@ -310,7 +310,7 @@ def do_servicemanager():
|
|||||||
do('git pull')
|
do('git pull')
|
||||||
|
|
||||||
|
|
||||||
def do_sehistory():
|
def do_feeder():
|
||||||
"""history feeder"""
|
"""history feeder"""
|
||||||
if check_repo(home, 'sehistory', None, 'master'):
|
if check_repo(home, 'sehistory', None, 'master'):
|
||||||
do('git pull')
|
do('git pull')
|
||||||
@ -465,7 +465,7 @@ def do_bin():
|
|||||||
chdir(home)
|
chdir(home)
|
||||||
if not exists('bin'):
|
if not exists('bin'):
|
||||||
do('mkdir -p bin')
|
do('mkdir -p bin')
|
||||||
pgms = ['frappy', 'sea', 'seweb', 'sehistory']
|
pgms = ['frappy', 'sea', 'seweb', 'feeder']
|
||||||
if nicosroot:
|
if nicosroot:
|
||||||
executable = f'{nicosenv}/bin/python3'
|
executable = f'{nicosenv}/bin/python3'
|
||||||
else:
|
else:
|
||||||
@ -557,7 +557,7 @@ else:
|
|||||||
for a in nc_actions:
|
for a in nc_actions:
|
||||||
ncactionfuncs[a] = locals()['do_%s' % a]
|
ncactionfuncs[a] = locals()['do_%s' % a]
|
||||||
actions = ['ssh', 'bin', 'scfg', 'frappy', 'servicemanager', 'sea',
|
actions = ['ssh', 'bin', 'scfg', 'frappy', 'servicemanager', 'sea',
|
||||||
'calcurves', 'sehistory', 'seweb']
|
'calcurves', 'feeder', 'seweb']
|
||||||
|
|
||||||
actionfuncs = {}
|
actionfuncs = {}
|
||||||
for a in actions:
|
for a in actions:
|
||||||
|
Reference in New Issue
Block a user