Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
backupninja
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
raT
backupninja
Commits
88b78771
Commit
88b78771
authored
16 years ago
by
intrigeri
Browse files
Options
Downloads
Patches
Plain Diff
pgsql, mysql, svn: use new vservers_running function from lib/vserver (factorization++)
parent
6c628e78
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
ChangeLog
+2
-0
2 additions, 0 deletions
ChangeLog
handlers/mysql.in
+1
-4
1 addition, 4 deletions
handlers/mysql.in
handlers/pgsql.in
+1
-4
1 addition, 4 deletions
handlers/pgsql.in
handlers/svn.in
+1
-4
1 addition, 4 deletions
handlers/svn.in
with
5 additions
and
12 deletions
ChangeLog
+
2
−
0
View file @
88b78771
...
...
@@ -35,6 +35,8 @@ version 0.9.6 -- unreleased
. make deleted maildirs record the date they were deleted
. add destid_file configuration option to enable you to specify an alternate
ssh public key authentication file (defaulting to /root/.ssh/id_rsa)
pgsql, mysql, svn:
. use new vservers_running function from lib/vserver (factorization++)
sys:
. update for 2.6 kernels: use /proc/kallsyms instead of /proc/ksyms
(Closes: Trac#39)
...
...
This diff is collapsed.
Click to expand it.
handlers/mysql.in
+
1
−
4
View file @
88b78771
...
...
@@ -31,10 +31,7 @@ if [ $vservers_are_available = yes ]; then
fatal
"The vserver given in vsname (
$vsname
) does not exist."
fi
# is it running ?
$VSERVERINFO
-q
$vsname
RUNNING
if
[
$?
-ne
0
]
;
then
fatal
"The vserver
$vsname
is not running."
fi
vservers_running
$vsname
||
fatal
"The vserver
$vsname
is not running."
# everything ok
info
"Using vserver '
$vsname
'."
usevserver
=
yes
...
...
This diff is collapsed.
Click to expand it.
handlers/pgsql.in
+
1
−
4
View file @
88b78771
...
...
@@ -21,10 +21,7 @@ if [ $vservers_are_available = yes ]; then
fatal
"The vserver given in vsname (
$vsname
) does not exist."
fi
# is it running ?
$VSERVERINFO
-q
$vsname
RUNNING
if
[
$?
-ne
0
]
;
then
fatal
"The vserver
$vsname
is not running."
fi
vservers_running
$vsname
||
fatal
"The vserver
$vsname
is not running."
# everything ok
info
"Using vserver '
$vsname
'."
usevserver
=
yes
...
...
This diff is collapsed.
Click to expand it.
handlers/svn.in
+
1
−
4
View file @
88b78771
...
...
@@ -22,10 +22,7 @@ if [ $vservers_are_available = yes ]; then
fatal
"The vserver given in vsname (
$vsname
) does not exist."
fi
# is it running ?
$VSERVERINFO
-q
$vsname
RUNNING
if
[
$?
-ne
0
]
;
then
fatal
"The vserver
$vsname
is not running."
fi
vservers_running
$vsname
||
fatal
"The vserver
$vsname
is not running."
# everything ok
info
"Using vserver '
$vsname
'."
usevserver
=
yes
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment