Commit Graph

17 Commits

Author SHA1 Message Date
Dietmar Maurer
092fa1b0de cleanup: use new run_cli_handler() method 2015-10-02 11:28:01 +02:00
Dietmar Maurer
3687020828 use PVE::SafeSyslog in pveproxy and pvedaemon 2015-09-08 16:57:53 +02:00
Dietmar Maurer
ab4ae3dcfd convert pvedaemon into a PVE::Service class 2015-09-07 10:08:08 +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
Dietmar Maurer
a3eff2d9f1 remove class APIDaemon
Moved last used sub into PVE::API2Tools.
2015-01-01 16:54:21 +01:00
Dietmar Maurer
6669b51cd2 pvedaemon: use PVE::Daemon 2015-01-01 16:38:54 +01:00
Dietmar Maurer
7e73c93e55 new html formatter PVE::API2::Formatter::HTML
This one provides a login page and uses bootstrap for html.
2014-05-02 11:36:11 +02: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
Stefan Priebe
776de3bc0d do not use -w switch as it breaks modules
-w enabled warnings for all modules - even when these modules comes from the OS and are not compatible
with warnings. This is the reason to NOT use -w and instead use "use warnings".
2013-10-01 10:36:47 +02:00
Dietmar Maurer
a908636e70 pveproxy: implement host based access control 2013-04-23 10:30:10 +02:00
Dietmar Maurer
f6c357cf35 code cleanups 2013-04-17 08:28:05 +02:00
Dietmar Maurer
f91072d56f code cleanups 2013-04-11 08:31:03 +02:00
Dietmar Maurer
3dad8dc716 run pveproxy as unpriviledged user (www-data)
We log to /var/log/pveproxy/access.log. Extra directory is needed because we run
as www-data (no permissions to write into /var/log/pve/).
2013-04-10 09:58:35 +02:00
Dietmar Maurer
bd7333661e implement new event based api server 2013-04-09 11:51:51 +02:00
Dietmar Maurer
a2d331848d create /var/run/dtach at pvedaemon startup
Previos code creates the directory on the wrong node!
2012-10-02 10:11:16 +02:00
Dietmar Maurer
ecbca9c355 disable debug messages in APIDaemon by default 2011-09-29 08:09:51 +02:00
Dietmar Maurer
aff192e6f5 imported from svn 'pve-manager/pve2' 2011-08-23 07:40:22 +02:00