ac9e35123c
better error message when cfg file does not exist
2022-06-08 16:34:28 +02:00
l_samenv
5640c4ea08
Merge branch 'master' of gitlab.psi.ch:samenv/servicemanager
2022-04-26 09:54:32 +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
l_samenv
b436eee810
no wildcards in sea client
2022-04-26 09:24:11 +02:00
7ea4de02b4
add requirements.txt
2022-04-20 16:11:27 +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
l_samenv
bb3c72acc9
better args checking, sea list: cfg shown only on single items
2021-12-06 11:54:19 +01:00
l_samenv
e7c1fce854
Merge branch 'master' of gitlab.psi.ch:samenv/servicemanager
2021-05-07 16:35:14 +02:00
l_samenv
0be8ae7fe1
support to start sea automatically from SeaClient (with -q arg)
2021-05-07 16:34:10 +02:00
1e384d7deb
added gitignore
2021-04-28 17:13:48 +02:00
5a1bdbf9a2
put home in sys.path
2021-04-28 12:28:45 +02:00
6a34bd164b
fix bug in SeaManager with foreign instrument
2021-04-28 12:11:57 +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
404288abbf
keep the frappy server alive when nicos is restarted
...
Popen with start_new_session=True when not in run mode
2021-04-19 15:46:07 +02:00
e6ce5e8e34
add reference to 'monit' in sea usage message
2021-04-16 07:11:39 +02:00
bcb4a4ba16
determine package for remote nicos servers
...
+ fix a bug in ServiceManager.do_list
2021-04-14 14:16:08 +02:00
9e3a3cbbfc
changed argument of nicos gui client
2021-04-13 08:38:08 +02:00
d73ec3ab9a
support for connecting clients to remote servers
...
- define REMOTE_HOST and REMOTE_LOGIN in servicemanager.cfg
- added app argument to gui client main
2021-04-12 18:08:14 +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
3748948b5d
better message when server is not running
...
when a client is started and the server is not running,
issue 'please use ".. start .."' message
2021-04-09 10:15:32 +02:00
9900af0e3f
main ins no longer needed in command
...
- MAIN is automatically replaced by the basename of the home directory
- when %(ins) is omitted in *_command, it is also replaced by this
+ add help subcommand
2021-04-09 09:20:10 +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
adbe97361f
add logger argument to ServiceManager.restart
...
+ replace MAIN instrument by the name of home directory
2021-03-09 18:03:13 +01:00
10c01a7fdd
added frappy gui
2021-02-26 16:06:14 +01:00
7670e1d693
Merge branch 'master' of git.psi.ch:zolliker/servicemanager
2021-02-26 14:55:33 +01:00
51abcab182
renamed to 'servicemanager'
...
the PYTHONPATH should be set to the directory above servicemanager
2021-02-26 14:52:24 +01:00
ff71f10ce5
renamed to 'servicemanager'
...
the PYTHONPATH should be set to the directory above servicemanager
2021-02-26 14:48:38 +01:00
632beda430
reorganize in order to make packaging better
2020-12-10 17:01:54 +01:00
l_samenv
6756cebbbd
fixe wrong import of sea_client
2020-11-03 14:25:09 +01:00
8dde3aaadd
Merge branch 'master' of git.psi.ch:zolliker/servman
2020-11-03 14:22:36 +01:00
8a9dee244e
unified sics_command() with sics_client()
2020-11-03 14:18:04 +01:00
52fc0fa054
unified sics_command() with sics_client()
2020-11-03 14:16:58 +01:00
l_samenv
4b9e0e905d
add info about SEA cfg in listing
...
+ fixed: all servers should be shown, independent whether nicos list,
frappy list or sea list is used
2020-11-03 14:08:38 +01:00
eee6c22b87
add sea config information to sea list
...
+ fixed servman import (must be __init__)
2020-11-03 12:06:29 +01:00
l_samenv
fcd85f1ca4
various improvements
...
- servman.cfg moved to home directory
- changed mechanism to retrieve frappy cfg in list
- fixed bin/sea to accept also foreign instruments for gui / cli
2020-11-03 11:35:04 +01:00
61ba9336b8
initial version
2020-10-23 16:18:50 +02:00
c5f9c12e98
Initial commit
2020-10-23 15:59:08 +02:00