Commit Graph

22 Commits

Author SHA1 Message Date
Wolfgang Bumiller
804e97f9ec spiceproxy: import PVE::SafeSyslog 2017-01-26 12:59:57 +01:00
Dietmar Maurer
092fa1b0de cleanup: use new run_cli_handler() method 2015-10-02 11:28:01 +02:00
Dietmar Maurer
c2b121c038 convert spiceproxy into a PVE::Service class 2015-09-07 10:53:49 +02:00
Wolfgang Bumiller
98ac92f039 move preparations into prepare()
Moving some preparation code found at the top level of some binaries
into a prepare() sub.
2015-05-29 16:12:24 +02:00
Wolfgang Bumiller
1ecadd8f46 spiceproxy: same condition for ipv6 socket as in pveproxy 2015-05-12 16:41:21 +02:00
Dietmar Maurer
0e6afe6074 correctly create /var/run/pveproxy at startup 2015-03-03 07:02:57 +01:00
Dietmar Maurer
0acb44a571 use new pidfile option (instead of run_dir) 2015-01-02 14:19:23 +01:00
Dietmar Maurer
0ef9c4e8ca use setuid/setgid feature from PVE::Daemon 2015-01-02 14:11:38 +01:00
Dietmar Maurer
a3eff2d9f1 remove class APIDaemon
Moved last used sub into PVE::API2Tools.
2015-01-01 16:54:21 +01:00
Dietmar Maurer
2560c968d1 pveproxy: use PVE::Daemon 2015-01-01 16:19:41 +01:00
Dietmar Maurer
50c4c9170b spiceproxy: use new helpers from PVE::Daemon 2015-01-01 15:43:18 +01:00
Dietmar Maurer
471ddcf91e spiceproxy: always restart unsing HUP
To keep existing spice connections alive.
2015-01-01 15:00:25 +01:00
Dietmar Maurer
d2b85ba226 spiceproxy: use new leave_children_open_on_reload option 2015-01-01 12:12:43 +01:00
Dietmar Maurer
e1cc2687ef spiceproxy: keep socket open on restart 2015-01-01 10:43:01 +01:00
Dietmar Maurer
de72f7ee54 spiceproxy: use more features from PVE::Daemon 2014-12-31 17:52:09 +01:00
Dietmar Maurer
393716a3bf spiceproxy: use PVE::Daemon 2014-12-20 09:44:13 +01:00
Dietmar Maurer
01b089e4d6 spiceproxy: do not use perl flag -w 2014-12-18 10:43:27 +01:00
Dietmar Maurer
d804d82f50 introduce base_handler_class
To make the framework more generic. The final plan is to move the
generic server code to package pve-common.

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2014-04-30 08:31:14 +02:00
Dietmar Maurer
17d27a3748 reuse host based access control code for spiceproxy 2013-06-27 07:55:11 +02:00
Dietmar Maurer
8d5310c1b0 spiceproxy: improve loggin code
* use the same log file as pveproxy: /var/log/pveproxy/access.log

 * log early just after establishing the connection.
2013-06-27 06:50:32 +02:00
Alexandre Derumier
261ccd7586 spiceproxy : remove debug -use lib '..';
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2013-06-27 06:12:03 +02:00
Dietmar Maurer
33afb29b29 add spiceproxy server 2013-06-26 13:21:14 +02:00