Merge lp:~jderose/ubuntu/vivid/couchdb/fix-1457464 into lp:ubuntu/vivid/couchdb

Proposed by Jason Gerard DeRose
Status: Merged
Merge reported by: Martin Pitt
Merged at revision: not available
Proposed branch: lp:~jderose/ubuntu/vivid/couchdb/fix-1457464
Merge into: lp:ubuntu/vivid/couchdb
Diff against target: 60 lines (+25/-1)
4 files modified
debian/changelog (+9/-0)
debian/control (+1/-0)
debian/couchdb.service (+14/-0)
debian/rules (+1/-1)
To merge this branch: bzr merge lp:~jderose/ubuntu/vivid/couchdb/fix-1457464
Reviewer Review Type Date Requested Status
Martin Pitt Approve
Review via email: mp+264437@code.launchpad.net

Description of the change

Not sure if this is an SRU-able change, but this merge adds a couchdb.service file to start CouchDB via systemd, same as will now be done in Wily.

Changes:

* Add debian/couchdb.service

* debian/rules: call dh --with systemd

* debian/control: add `dh-systemd` to Build-Depends

For background, see:
https://bugs.launchpad.net/ubuntu/+source/couchdb/+bug/1457464

To post a comment you must log in.
Revision history for this message
Martin Pitt (pitti) wrote :

Uploaded, thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2015-01-12 15:40:44 +0000
3+++ debian/changelog 2015-07-10 16:46:49 +0000
4@@ -1,3 +1,12 @@
5+couchdb (1.6.0-0ubuntu5.1) vivid; urgency=medium
6+
7+ * Add debian/couchdb.service to start system-wide CouchDB instance via
8+ systemd (LP: #1457464)
9+ * debian/rules: call dh --with systemd
10+ * debian/control: Add `dh-systemd` to Build-Depends
11+
12+ -- Jason Gerard DeRose <jason@system76.com> Fri, 10 Jul 2015 10:33:10 -0600
13+
14 couchdb (1.6.0-0ubuntu5) vivid; urgency=medium
15
16 * debian/rules: Reinstate init.d script, for insserv and systemd
17
18=== modified file 'debian/control'
19--- debian/control 2015-01-12 15:40:44 +0000
20+++ debian/control 2015-07-10 16:46:49 +0000
21@@ -5,6 +5,7 @@
22 XSBC-Original-Maintainer: Laszlo Boszormenyi (GCS) <gcs@debian.hu>
23 Standards-Version: 3.9.5
24 Build-Depends: debhelper (>= 9),
25+ dh-systemd,
26 dh-autoreconf,
27 pkg-config,
28 autoconf-archive,
29
30=== added file 'debian/couchdb.service'
31--- debian/couchdb.service 1970-01-01 00:00:00 +0000
32+++ debian/couchdb.service 2015-07-10 16:46:49 +0000
33@@ -0,0 +1,14 @@
34+[Unit]
35+Description=System-wide CouchDB instance
36+Wants=network-online.target
37+After=network-online.target
38+
39+[Service]
40+RuntimeDirectory=couchdb
41+User=couchdb
42+ExecStart=/usr/bin/couchdb
43+Restart=on-failure
44+
45+[Install]
46+WantedBy=multi-user.target
47+
48
49=== modified file 'debian/rules'
50--- debian/rules 2015-01-12 15:40:44 +0000
51+++ debian/rules 2015-07-10 16:46:49 +0000
52@@ -1,7 +1,7 @@
53 #!/usr/bin/make -f
54
55 %:
56- dh $@ --with autoreconf
57+ dh $@ --with autoreconf,systemd
58
59 override_dh_auto_clean:
60 dh_auto_clean

Subscribers

People subscribed via source and target branches