Renamed init script to 'invirtibuilder'
authorGreg Brockman <gdb@mit.edu>
Tue, 6 Jul 2010 04:27:32 +0000 (00:27 -0400)
committerGreg Brockman <gdb@mit.edu>
Tue, 6 Jul 2010 04:27:32 +0000 (00:27 -0400)
svn path=/trunk/packages/invirt-dev/; revision=3034

debian/invirt-dev.invirtibuilder.init [moved from debian/invirt-dev.init with 100% similarity]
debian/invirt-dev.postinst
debian/rules

index 49fe62c..d5c6961 100755 (executable)
@@ -47,10 +47,10 @@ EOF
     ;;
 esac
 
     ;;
 esac
 
-if [ -x /etc/init.d/invirt-dev ]; then
+if [ -x /etc/init.d/invirtibuilder ]; then
     if hash invoke-rc.d 2>/dev/null; then
     if hash invoke-rc.d 2>/dev/null; then
-        invoke-rc.d invirt-dev start
+        invoke-rc.d invirtibuilder start
     else
     else
-        /etc/init.d/invirt-dev start
+        /etc/init.d/invirtibuilder start
     fi
 fi
     fi
 fi
index 4bde507..7f3b99b 100755 (executable)
@@ -8,7 +8,7 @@ DEB_PYTHON_SYSTEM=pysupport
 #
 # This means that when the initscript is started, Python modules
 # installed by the package haven't been fully installed yet.
 #
 # This means that when the initscript is started, Python modules
 # installed by the package haven't been fully installed yet.
-DEB_DH_INSTALLINIT_ARGS += --no-start
+DEB_DH_INSTALLINIT_ARGS += --no-start --name invirtibuilder
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/python-distutils.mk
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/python-distutils.mk