Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
31316c55
Commit
31316c55
authored
Nov 16, 2012
by
Max Kanat-Alexander
Committed by
Frédéric Buclin
Nov 16, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 556195: bugzilla-queue.rhel initscript returns wrong result code when the daemon isn't running
r=justdave a=LpSolit
parent
c167fd0d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
bugzilla-queue.rhel
contrib/bugzilla-queue.rhel
+4
-4
No files found.
contrib/bugzilla-queue.rhel
View file @
31316c55
...
@@ -70,7 +70,7 @@ usage ()
...
@@ -70,7 +70,7 @@ usage ()
start
()
start
()
{
{
if
[
-f
"
$PIDFILE
"
]
;
then
if
[
-f
"
$PIDFILE
"
]
;
then
checkpid
`
cat
$PIDFILE
`
&&
return
0
checkpid
`
cat
$PIDFILE
`
&&
return
2
fi
fi
echo
-n
"Starting
$NAME
: "
echo
-n
"Starting
$NAME
: "
touch
$PIDFILE
touch
$PIDFILE
...
@@ -85,7 +85,7 @@ start ()
...
@@ -85,7 +85,7 @@ start ()
stop
()
stop
()
{
{
[
-f
/var/lock/subsys/
$NAME
]
||
return
0
[
-f
/var/lock/subsys/
$NAME
]
||
return
2
echo
-n
"Killing
$NAME
: "
echo
-n
"Killing
$NAME
: "
killproc
$NAME
killproc
$NAME
echo
echo
...
@@ -100,7 +100,7 @@ restart ()
...
@@ -100,7 +100,7 @@ restart ()
condrestart
()
condrestart
()
{
{
[
-e
/var/lock/subsys/
$NAME
]
&&
restart
||
return
0
[
-e
/var/lock/subsys/
$NAME
]
&&
restart
||
return
2
}
}
...
@@ -110,7 +110,7 @@ case "$1" in
...
@@ -110,7 +110,7 @@ case "$1" in
status
)
$BIN
-p
$PIDFILE
-n
$NAME
check
;
RETVAL
=
$?
;;
status
)
$BIN
-p
$PIDFILE
-n
$NAME
check
;
RETVAL
=
$?
;;
restart
)
restart
;
RETVAL
=
$?
;;
restart
)
restart
;
RETVAL
=
$?
;;
condrestart
)
condrestart
;
RETVAL
=
$?
;;
condrestart
)
condrestart
;
RETVAL
=
$?
;;
*
)
usage
;
RETVAL
=
2
;
;
*
)
usage
;;
esac
esac
exit
$RETVAL
exit
$RETVAL
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