ref: refs/heads/master
commit 93c841da4505a0b58296ebf14840a89052cedeec
Author: Stefan Schubert
Date: Wed Nov 25 16:46:40 2009 +0100
Waiting for yastwc until he has really written his pid file (bnc#558307)
---
webservice/package/yast2-webservice.changes | 6 ++++++
webservice/package/yastws | 8 ++++++--
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/webservice/package/yast2-webservice.changes b/webservice/package/yast2-webservice.changes
index 58320d6..11e6a1f 100644
--- a/webservice/package/yast2-webservice.changes
+++ b/webservice/package/yast2-webservice.changes
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Wed Nov 25 16:43:58 CET 2009 - schubi@suse.de
+
+- Waiting for yastwc until he has really written his pid file (bnc#558307)
+- remove yastwc from Should-Start option
+
+-------------------------------------------------------------------
Tue Nov 24 13:04:49 UTC 2009 - lslezak@suse.cz
- mark /srv/www/yastws/config/environment.rb as %config file
diff --git a/webservice/package/yastws b/webservice/package/yastws
index fcce221..5e5045c 100755
--- a/webservice/package/yastws
+++ b/webservice/package/yastws
@@ -36,9 +36,9 @@
### BEGIN INIT INFO
# Provides: yastws
# Required-Start: $syslog $remote_fs
-# Should-Start: $time ypbind sendmail yastwc
+# Should-Start: $time ypbind sendmail
# Required-Stop: $syslog $remote_fs
-# Should-Stop: $time ypbind sendmail yastwc
+# Should-Stop: $time ypbind sendmail
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
# Short-Description: yastws
@@ -172,6 +172,10 @@ rc_reset
case "$1" in
start)
echo -n "Starting yastws "
+
+ #Waiting for yastwc until he has really written his pid file (currently just a hack)
+ sleep 4
+
startproc -p $PID_FILE -i $IGNORE_FILE $LIGHTTPD_BIN -f $LIGHTTPD_CONFIG
# Remember status and be verbose
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org