]> git.proxmox.com Git - pve-cluster.git/commitdiff
Fixed startup order and lintian errors
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 30 Aug 2011 13:04:11 +0000 (15:04 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 30 Aug 2011 13:04:11 +0000 (15:04 +0200)
We now start in runlevel 2345 instead of S, and make sure
that we start before apache2.

Makefile
debian/control
debian/init.d
debian/rules

index 0f7c6cf405080172cbcb04635cc4dcc5dd72db9b..d9ade9c916aa0dd6ec1cd31efae809f3ab38a4b0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -25,6 +25,7 @@ ${DEB}:
        cp -a debian build/debian
        cd build; ./autogen.sh
        cd build; dpkg-buildpackage -rfakeroot -b -us -uc
+       lintian ${DEB}
 
 
 .PHONY: upload
index 40cc260352f1f55d344806d836a8132becdba0c1..04645b579b35230277b420c4db9d706d34cbf44f 100644 (file)
@@ -1,6 +1,6 @@
 Source: pve-cluster
-Section: unknown
-Priority: extra
+Section: admin
+Priority: optional
 Maintainer: Proxmox Support Team <support@proxmox.com>
 Build-Depends: debhelper (>= 7), autotools-dev, libsqlite3-dev, sqlite3, libfuse-dev, libcorosync-pve-dev, libqb-dev, libpve-common-perl, libglib2.0-dev, librrd-dev, librrds-perl, rrdcached, check, libdigest-hmac-perl
 Standards-Version: 3.7.3
index ec02e63d42761685fe0c24438450069fde1fd9f9..be7b580eadce763a0e4cbced1fb596c30525d291 100644 (file)
@@ -2,10 +2,11 @@
 #
 ### BEGIN INIT INFO
 # Provides:          pve-cluster
-# Required-Start:    $network $time fuse
-# Required-Stop:     $network $time fuse
-# Default-Start:     S
-# Default-Stop:      0 6
+# Required-Start:    $remote_fs $network $syslog $time fuse
+# Required-Stop:     $remote_fs $network $syslog $time fuse
+# X-Start-Before:    apache2
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
 # Short-Description: Starts the pve cluster filesystem
 # Description:       Starts and stops the pve cluster filesystem
 ### END INIT INFO
index 2ae9be04cb1226ec5282b01bdd6754b9fdb00401..e8daf0dcc57a80ebf347d02fc4423b21ff227b21 100755 (executable)
@@ -18,7 +18,3 @@ override_dh_auto_configure:
        ./autogen.sh
 
        ./configure --prefix=/usr
-
-
-override_dh_installinit:
-       dh_installinit --no-start --no-restart-on-upgrade -- start 60 S . start 5 0 6 .
\ No newline at end of file