Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pve-manager
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
pve-manager
Commits
cc22a4b0
Commit
cc22a4b0
authored
Sep 04, 2015
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
convert pvestatd into a PVE::Service class
parent
5bcaff56
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
412 deletions
+11
-412
Makefile
PVE/Makefile
+1
-1
Makefile
bin/Makefile
+7
-3
pvestatd
bin/pvestatd
+2
-407
vzdump
bin/vzdump
+1
-1
No files found.
PVE/Makefile
View file @
cc22a4b0
include
../defines.mk
SUBDIRS
=
API2 VZDump Status CLI
SUBDIRS
=
API2 VZDump Status CLI
Service
PERLSOURCE
=
\
API2.pm
\
...
...
bin/Makefile
View file @
cc22a4b0
...
...
@@ -39,8 +39,11 @@ all: ${MANS} pvemailforward
%.1.pod
:
%
podselect
$*
>
$@
pvestatd.1.pod
:
pvestatd
perl
-I
.. ./pvestatd printmanpod
>
$@
pvestatd.1.pod
:
perl
-I
..
-T
-e
"use PVE::Service::pvestatd; PVE::Service::pvestatd->generate_pod_manpage();"
>
$@
pvestatd.bash-completion
:
perl
-I
..
-T
-e
"use PVE::Service::pvestatd; PVE::Service::pvestatd->generate_bash_completions();"
>
$@
pvedaemon.1.pod
:
pvedaemon
perl
-I
..
-T
./pvedaemon printmanpod
>
$@
...
...
@@ -73,7 +76,7 @@ pvemailforward: pvemailforward.c
gcc
$<
-o
$@
-g
-O2
-Wall
-ldl
-lc
.PHONY
:
install
install
:
${SCRIPTS} ${MANS} pvemailforward vzdump.bash-completion
install
:
${SCRIPTS} ${MANS} pvemailforward vzdump.bash-completion
pvestatd.bash-completion
perl -I.. -T -e "use PVE
::
CLI::vzdump; PVE::CLI::vzdump->verify_api();"
perl
-I
.. ./pvesh verifyapi
...
...
@@ -86,6 +89,7 @@ install: ${SCRIPTS} ${MANS} pvemailforward vzdump.bash-completion
install
-m
0644 vzdump.1.pod
${
PODDIR
}
install
-m
0644 pvesubscription.1.pod
${
PODDIR
}
install
-m
0644
-D
vzdump.bash-completion
${
BASHCOMPLDIR
}
/vzdump
install
-m
0644
-D
pvestatd.bash-completion
${
BASHCOMPLDIR
}
/pvestatd
set
-e
&&
for
i
in
${
SUBDIRS
}
;
do
${
MAKE
}
-C
$$
i
$@
;
done
.PHONY
:
distclean
...
...
bin/pvestatd
View file @
cc22a4b0
This diff is collapsed.
Click to expand it.
bin/vzdump
View file @
cc22a4b0
...
...
@@ -5,4 +5,4 @@ use warnings;
use
PVE::CLI::
vzdump
;
PVE::CLI::
vzdump
->
run
();
PVE::CLI::
vzdump
->
run
_cli
();
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment