projects
/
feed
/
routing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60e06a3
)
olsrd: avoid fake startup-error messages
author
Alessio Caiazza
<nolith@abisso.org>
Wed, 28 May 2014 15:02:40 +0000
(17:02 +0200)
committer
Alessio Caiazza
<nolith@abisso.org>
Wed, 28 May 2014 15:02:40 +0000
(17:02 +0200)
Calling service_check too early may result in a false reading
olsrd/files/olsrd.init
patch
|
blob
|
history
diff --git
a/olsrd/files/olsrd.init
b/olsrd/files/olsrd.init
index 4da101cad239cfda4eb59f5494119df14712d879..5864756465a9b2a465650af8698e8df86430e470 100644
(file)
--- a/
olsrd/files/olsrd.init
+++ b/
olsrd/files/olsrd.init
@@
-799,6
+799,7
@@
start() {
return 1
else
service_start /usr/sbin/olsrd -f "$OLSRD_CONFIG_FILE" -nofork
+ sleep 1
service_check /usr/sbin/olsrd || {
log "startup-error: check via: '/usr/sbin/olsrd -f \"$OLSRD_CONFIG_FILE\" -nofork'"
}