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
7d3665f6
Commit
7d3665f6
authored
May 16, 2014
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
undo last commit - we us an extra daemon to update firewall rules
parent
71bcccfc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
+0
-15
pvestatd
bin/pvestatd
+0
-15
No files found.
bin/pvestatd
View file @
7d3665f6
...
@@ -18,7 +18,6 @@ use PVE::OpenVZ;
...
@@ -18,7 +18,6 @@ use PVE::OpenVZ;
use
PVE::
RPCEnvironment
;
use
PVE::
RPCEnvironment
;
use
PVE::API2::
Subscription
;
use
PVE::API2::
Subscription
;
use
PVE::
AutoBalloon
;
use
PVE::
AutoBalloon
;
use
PVE::
Firewall
;
$SIG
{'
__WARN__
'}
=
sub
{
$SIG
{'
__WARN__
'}
=
sub
{
my
$err
=
$@
;
my
$err
=
$@
;
...
@@ -334,13 +333,6 @@ sub update_storage_status {
...
@@ -334,13 +333,6 @@ sub update_storage_status {
}
}
}
}
sub
update_pve_firewall
{
local
$SIG
{'
__WARN__
'}
=
'
IGNORE
';
# do not fill up logs
PVE::Firewall::
update
();
}
sub
update_status
{
sub
update_status
{
# update worker list. This is not really required and
# update worker list. This is not really required and
...
@@ -382,13 +374,6 @@ sub update_status {
...
@@ -382,13 +374,6 @@ sub update_status {
};
};
$err
=
$@
;
$err
=
$@
;
syslog
('
err
',
"
openvz console cleanup error:
$err
")
if
$err
;
syslog
('
err
',
"
openvz console cleanup error:
$err
")
if
$err
;
eval
{
update_pve_firewall
();
};
$err
=
$@
;
syslog
('
err
',
"
pve firewall update error:
$err
")
if
$err
;
}
}
my
$next_update
=
0
;
my
$next_update
=
0
;
...
...
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