30 Commits

Author SHA1 Message Date
79ce2947a6 [WIP] include SEA info (2) 2023-09-11 08:47:02 +02:00
008690fe84 [WIP] include SEA info 2023-09-11 08:35:38 +02:00
l_samenv
a255b9b715 unify do_listcfg and nicos frappy_list() 2023-06-06 16:20:37 +02:00
6130c5b5c5 improve commandline argument behaviour
+ allow hprt2 / zebra2
2023-06-05 14:38:14 +02:00
l_samenv
fcef9cb142 remove debug print 2023-05-16 14:01:32 +02:00
l_samenv
e5f7aded92 starting multiple nodes with frappy cli 2023-05-16 14:00:11 +02:00
l_samenv
02ca6de3ec make new version of frappy work
- frappy instead of secop
- python cfg files
2023-05-04 14:57:01 +02:00
l_samenv
42125b9887 fix restart without cfg
restart did not work when no cfg was given and process was
in zombie state

+ fix restart 'all'
2022-12-22 16:36:47 +01:00
l_samenv
b387177668 add frappy cli 2022-12-09 16:01:49 +01:00
b81c98448d bug fix: FRAPPY_CONFDIR not mandatory 2022-09-20 14:29:05 +02:00
l_samenv
a7559c648e missing expanduser in FrappyManager.config_dirs
+ start nicos with python3
2022-08-23 16:18:38 +02:00
l_samenv
e67fa0bc35 make 'frappy listcfg' bhave like nicos 'frappy_list()' 2022-07-06 08:45:26 +02:00
a3453e6b0e frappyman: inherit PYTHONPATH from starting process
on SINQ instruments, when frappy is started from nicos,
nicos.conf contains PYTHONPATH  = /home/<instr>:/home/<instr>/.local...
this should be applied to the frappy process too
2022-06-20 15:03:39 +02:00
34e13ccc67 frappyman: raise from None 2022-06-08 16:40:17 +02:00
ac9e35123c better error message when cfg file does not exist 2022-06-08 16:34:28 +02:00
4b38869edb Merge branch 'master' of gitlab.psi.ch-samenv:samenv/servicemanager
Conflicts:
	frappyman.py
2022-04-26 09:53:56 +02:00
1f5bdcde8d fix errors in frappyman
+ missing section key FRAPPY
+ use expanduser
2022-04-26 09:49:45 +02:00
4e58fb463f fix issues with auto detection args
+ treat develop cfg correctly
2022-04-20 16:09:37 +02:00
247e660717 fix issues with config dirs 2022-04-20 16:08:05 +02:00
192bdca648 use general config file instead of SECOP_CONF
for getting the config directories
2022-04-13 11:48:17 +02:00
f411460c2c introduce wildcards for <instance> 2021-12-06 14:39:04 +01:00
5a1bdbf9a2 put home in sys.path 2021-04-28 12:28:45 +02:00
e663c97b80 better argument treatment 2021-04-28 12:04:58 +02:00
97af531a5c explicitly define SERV path item in SECOP_CONFDIR
when an item in SECOP_CONFDIR ends with SERV, only the directory
for the service is lookup up and not its parent
2021-04-28 09:18:12 +02:00
l_samenv
c7584d70b1 added config_dirs methed to FrappyManager 2021-04-09 13:57:05 +02:00
4fb55323e3 do not show <instance> in help when not needed 2021-04-09 10:28:18 +02:00
l_samenv
702db45a76 improve service manager
- do not start sea server automatically
- replace _SERVICE in FRAPPY_HISTORY by service name
- imporve error messages
- no fiddling around with sys,path, reply on PYTHONPATH for
  finding packages
2021-03-15 15:11:16 +01:00
10c01a7fdd added frappy gui 2021-02-26 16:06:14 +01:00
51abcab182 renamed to 'servicemanager'
the PYTHONPATH should be set to the directory above servicemanager
2021-02-26 14:52:24 +01:00
632beda430 reorganize in order to make packaging better 2020-12-10 17:01:54 +01:00