Roxen.git/
server/
start
Branch:
Tag:
Non-build tags
All tags
No tags
2012-09-21
2012-09-21 08:17:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>
d2e3340f975f04b2914ef7d8227c2c09d7aae275 (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
5.2
Start: Potential fix for [bug
6516 (#6516)
]
#7
.
Rev: server/start:1.246
1:
#!/bin/sh #
-
# $Id: start,v 1.
245
2012/09/
20
11
:
27
:
10
grubba Exp $
+
# $Id: start,v 1.
246
2012/09/
21
08
:
17
:
54
grubba Exp $
### If --silent-start is given as the first argument, ### nothing will be printed to stdout by the script.
805:
# the script unmodified. if [ -f "/var/run/roxen-$2.$1.pid" -o -f "/tmp/roxen-$2.$1.pid" ]; then # Check that the pid file belongs to our configuration.
-
if [ `cat /var/run/roxen-$2.$1.pid 2>/dev/null || cat /var/run/roxen-$2.$1.pid 2>/dev/null` = "$3" ]; then
+
if [
"
`cat /var/run/roxen-$2.$1.pid 2>/dev/null || cat /var/run/roxen-$2.$1.pid 2>/dev/null`
"
= "$3" ]; then
return 0 fi fi