[novnc/el6] Fixes the supplied init script to match the new 0.4 version

Nikola Dipanov ndipanov at fedoraproject.org
Fri Nov 2 12:47:22 UTC 2012


commit fdde02bbf20fa09a8c7a977a4394474cc8ea60d5
Author: Nikola Dipanov <ndipanov at redhat.com>
Date:   Tue Oct 23 18:13:24 2012 +0200

    Fixes the supplied init script to match the new 0.4 version

 novnc.spec                     |    5 ++++-
 openstack-nova-novncproxy.init |    4 ++--
 2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/novnc.spec b/novnc.spec
index 143a6a9..6f31279 100644
--- a/novnc.spec
+++ b/novnc.spec
@@ -15,7 +15,7 @@
 
 Name:           novnc
 Version:        0.4
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        VNC client using HTML5 (Web Sockets, Canvas) with encryption support
 Requires:       python-websockify
 
@@ -132,6 +132,9 @@ fi
 %endif
 
 %changelog
+* Mon Oct 22 2012 Nikola Đipanoov <ndipanov at redhat.com> - 0.4-2
+- Fixes the supplied init script to match the new 0.4 version
+
 * Mon Oct 22 2012 Nikola Đipanoov <ndipanov at redhat.com> - 0.4-1
 - Moves to upstream version 0.4.0
 
diff --git a/openstack-nova-novncproxy.init b/openstack-nova-novncproxy.init
index e88db03..dd579ef 100644
--- a/openstack-nova-novncproxy.init
+++ b/openstack-nova-novncproxy.init
@@ -31,7 +31,7 @@ start() {
     [ -x $exec ] || exit 5
     [ -f $config ] || exit 6
     echo -n $"Starting $prog: "
-    daemon --user nova --pidfile $pidfile "$exec --flagfile=$config --web /usr/share/novnc/ &>/dev/null & echo \$! > $pidfile"
+    daemon --user nova --pidfile $pidfile "$exec --web /usr/share/novnc/ &>/dev/null & echo \$! > $pidfile"
     retval=$?
     echo
     [ $retval -eq 0 ] && touch $lockfile
@@ -99,4 +99,4 @@ case "$1" in
         echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
         exit 2
 esac
-exit $?
\ No newline at end of file
+exit $?


More information about the scm-commits mailing list