]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Use dh_installinit to install upstart job files 463/head
authorThomas Bechtold <thomasbechtold@jpberlin.de>
Sat, 27 Jul 2013 05:24:10 +0000 (07:24 +0200)
committerThomas Bechtold <thomasbechtold@jpberlin.de>
Mon, 29 Jul 2013 12:53:58 +0000 (14:53 +0200)
Signed-off-by: Thomas Bechtold <thomasbechtold@jpberlin.de>
15 files changed:
debian/ceph-mds.ceph-mds-all-starter.upstart [new symlink]
debian/ceph-mds.ceph-mds-all.upstart [new symlink]
debian/ceph-mds.ceph-mds.upstart [new symlink]
debian/ceph.ceph-all.upstart [new symlink]
debian/ceph.ceph-create-keys.upstart [new symlink]
debian/ceph.ceph-mon-all-starter.upstart [new symlink]
debian/ceph.ceph-mon-all.upstart [new symlink]
debian/ceph.ceph-mon.upstart [new symlink]
debian/ceph.ceph-osd-all-starter.upstart [new symlink]
debian/ceph.ceph-osd-all.upstart [new symlink]
debian/ceph.ceph-osd.upstart [new symlink]
debian/radosgw.radowgw-all-starter.upstart [new symlink]
debian/radosgw.radowgw-all.upstart [new symlink]
debian/radosgw.radowgw.upstart [new symlink]
debian/rules

diff --git a/debian/ceph-mds.ceph-mds-all-starter.upstart b/debian/ceph-mds.ceph-mds-all-starter.upstart
new file mode 120000 (symlink)
index 0000000..10f99a6
--- /dev/null
@@ -0,0 +1 @@
+../src/upstart/ceph-mds-all-starter.conf
\ No newline at end of file
diff --git a/debian/ceph-mds.ceph-mds-all.upstart b/debian/ceph-mds.ceph-mds-all.upstart
new file mode 120000 (symlink)
index 0000000..e824733
--- /dev/null
@@ -0,0 +1 @@
+../src/upstart/ceph-mds-all.conf
\ No newline at end of file
diff --git a/debian/ceph-mds.ceph-mds.upstart b/debian/ceph-mds.ceph-mds.upstart
new file mode 120000 (symlink)
index 0000000..8b3b096
--- /dev/null
@@ -0,0 +1 @@
+../src/upstart/ceph-mds.conf
\ No newline at end of file
diff --git a/debian/ceph.ceph-all.upstart b/debian/ceph.ceph-all.upstart
new file mode 120000 (symlink)
index 0000000..60726f3
--- /dev/null
@@ -0,0 +1 @@
+../src/upstart/ceph-all.conf
\ No newline at end of file
diff --git a/debian/ceph.ceph-create-keys.upstart b/debian/ceph.ceph-create-keys.upstart
new file mode 120000 (symlink)
index 0000000..d8d704f
--- /dev/null
@@ -0,0 +1 @@
+../src/upstart/ceph-create-keys.conf
\ No newline at end of file
diff --git a/debian/ceph.ceph-mon-all-starter.upstart b/debian/ceph.ceph-mon-all-starter.upstart
new file mode 120000 (symlink)
index 0000000..d7452d0
--- /dev/null
@@ -0,0 +1 @@
+../src/upstart/ceph-mon-all-starter.conf
\ No newline at end of file
diff --git a/debian/ceph.ceph-mon-all.upstart b/debian/ceph.ceph-mon-all.upstart
new file mode 120000 (symlink)
index 0000000..8aec0a0
--- /dev/null
@@ -0,0 +1 @@
+../src/upstart/ceph-mon-all.conf
\ No newline at end of file
diff --git a/debian/ceph.ceph-mon.upstart b/debian/ceph.ceph-mon.upstart
new file mode 120000 (symlink)
index 0000000..f953fd0
--- /dev/null
@@ -0,0 +1 @@
+../src/upstart/ceph-mon.conf
\ No newline at end of file
diff --git a/debian/ceph.ceph-osd-all-starter.upstart b/debian/ceph.ceph-osd-all-starter.upstart
new file mode 120000 (symlink)
index 0000000..e817438
--- /dev/null
@@ -0,0 +1 @@
+../src/upstart/ceph-osd-all-starter.conf
\ No newline at end of file
diff --git a/debian/ceph.ceph-osd-all.upstart b/debian/ceph.ceph-osd-all.upstart
new file mode 120000 (symlink)
index 0000000..ddf2244
--- /dev/null
@@ -0,0 +1 @@
+../src/upstart/ceph-osd-all.conf
\ No newline at end of file
diff --git a/debian/ceph.ceph-osd.upstart b/debian/ceph.ceph-osd.upstart
new file mode 120000 (symlink)
index 0000000..0a23a0a
--- /dev/null
@@ -0,0 +1 @@
+../src/upstart/ceph-osd.conf
\ No newline at end of file
diff --git a/debian/radosgw.radowgw-all-starter.upstart b/debian/radosgw.radowgw-all-starter.upstart
new file mode 120000 (symlink)
index 0000000..145204e
--- /dev/null
@@ -0,0 +1 @@
+../src/upstart/radosgw-all-starter.conf
\ No newline at end of file
diff --git a/debian/radosgw.radowgw-all.upstart b/debian/radosgw.radowgw-all.upstart
new file mode 120000 (symlink)
index 0000000..5312a65
--- /dev/null
@@ -0,0 +1 @@
+../src/upstart/radosgw-all.conf
\ No newline at end of file
diff --git a/debian/radosgw.radowgw.upstart b/debian/radosgw.radowgw.upstart
new file mode 120000 (symlink)
index 0000000..6faf46e
--- /dev/null
@@ -0,0 +1 @@
+../src/upstart/radosgw.conf
\ No newline at end of file
index c32c3e280b3852fc807085eb588cd2e63d376323..dc0710a841f605a093fa67858db00b65bd486278 100755 (executable)
@@ -114,15 +114,25 @@ binary-arch: build install
        dh_installexamples -a
        dh_install -a --sourcedir=$(DESTDIR) --list-missing
        dh_installlogrotate -a
-       dh_installinit -a --no-start
-       # dh_installinit is only set up to handle one upstart script
-       # per package, so do this ourselves
-       install -d -m0755 debian/ceph/etc/init
-       install -m0644 src/upstart/ceph*.conf debian/ceph/etc/init
-       install -d -m0755 debian/ceph-mds/etc/init
-       mv debian/ceph/etc/init/ceph-mds* debian/ceph-mds/etc/init
-       install -d -m0755 debian/radosgw/etc/init
-       install -m0644 src/upstart/radosgw*.conf debian/radosgw/etc/init
+       #upstart job files for binary package ceph
+       dh_installinit --no-start --name=ceph-all
+       dh_installinit --no-start --name=ceph-create-keys
+       dh_installinit --no-start --name=ceph-mon-all-starter
+       dh_installinit --no-start --name=ceph-mon-all
+       dh_installinit --no-start --name=ceph-mon
+       dh_installinit --no-start --name=ceph-osd-all-starter
+       dh_installinit --no-start --name=ceph-osd-all
+       dh_installinit --no-start --name=ceph-osd
+       #upstart job files for binary package ceph-mds
+       dh_installinit --no-start --name=ceph-mds-all
+       dh_installinit --no-start --name=ceph-mds-all-starter
+       dh_installinit --no-start --name=ceph-mds
+       #upstart job files for binary package radowgw
+       dh_installinit --no-start --name=radosgw-all-starter
+       dh_installinit --no-start --name=radosgw-all
+       dh_installinit --no-start --name=radosgw
+       #all other initscripts
+       dh_installinit --no-start
        dh_installman -a
        dh_lintian -a
        dh_link -a