[SCM] quassel packaging branch, master, updated. debian/1%0.10.0-2.4-13-gc7dc553

Scott Kitterman kitterman at moszumanska.debian.org
Sun Sep 6 15:36:29 UTC 2015


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/quassel.git;a=commitdiff;h=c7dc553

The following commit has been merged in the master branch:
commit c7dc553f08856d173cb48e262f8202822a0c0581
Author: Scott Kitterman <scott at kitterman.com>
Date:   Sun Sep 6 11:36:16 2015 -0400

    Add systemd service file and associated changes for quasselcore.
---
 debian/changelog                        |  6 +++++-
 debian/control                          |  1 +
 debian/quassel-core.dirs                |  1 +
 debian/quassel-core.quasselcore.systemd | 16 ++++++++++++++++
 debian/rules                            |  3 ++-
 5 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index de1f421..1a3e3a3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
 quassel (1:0.12.2-1) UNRELEASED; urgency=medium
 
+  [ Felix Geyer ]
   * New upstream release.
   * Remove patches that have been applied upstream:
     - CVE-2014-8483.patch
@@ -14,7 +15,10 @@ quassel (1:0.12.2-1) UNRELEASED; urgency=medium
   * Enable parallel building.
   * Pass --fail-missing to dh_install.
 
- -- Felix Geyer <fgeyer at debian.org>  Thu, 03 Sep 2015 18:39:11 +0200
+  [ Scott Kitterman ]
+  * Add systemd service file and associated changes for quasselcore.
+
+ -- Felix Geyer <fgeyer at debian.org>  Sun, 06 Sep 2015 11:34:35 -0400
 
 quassel (1:0.10.0-2.4) unstable; urgency=high
 
diff --git a/debian/control b/debian/control
index 9953d36..131c1c0 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Uploaders: Thomas Mueller <thomas.mueller at tmit.eu>,
            Scott Kitterman <scott at kitterman.com>
 Build-Depends: debhelper (>= 9.20120417),
                cmake,
+               dh-systemd,
                libqca-qt5-2-dev,
                zlib1g-dev,
                qttools5-dev-tools,
diff --git a/debian/quassel-core.dirs b/debian/quassel-core.dirs
new file mode 100644
index 0000000..67f1eed
--- /dev/null
+++ b/debian/quassel-core.dirs
@@ -0,0 +1 @@
+lib/systemd/system
diff --git a/debian/quassel-core.quasselcore.systemd b/debian/quassel-core.quasselcore.systemd
new file mode 100644
index 0000000..10399b5
--- /dev/null
+++ b/debian/quassel-core.quasselcore.systemd
@@ -0,0 +1,16 @@
+[Unit]
+Description=distributed IRC client using a central core component
+Wants=network-online.target postgresql.service
+After=network-online.target postgresql.service
+
+[Service]
+User=quasselcore
+Group=quassel
+WorkingDirectory=/var/lib/quassel
+Environment="DATADIR=/var/lib/quassel" "LOGFILE=/var/log/quassel/core.log" "LOGLEVEL=Info" "PORT=4242"
+EnvironmentFile=-/etc/default/quasselcore
+ExecStart=/usr/bin/quasselcore --configdir=${DATADIR} --logfile=${LOGFILE} --loglevel=${LOGLEVEL} --port=${PORT}
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target
diff --git a/debian/rules b/debian/rules
index d9edb69..5e79ade 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,14 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@ --parallel
+	dh $@ --parallel --with systemd
 
 override_dh_auto_configure:
 	dh_auto_configure -- -DEMBED_DATA=OFF -DUSE_QT5=ON -DWITH_KDE=ON
 
 override_dh_install:
 	dh_install --fail-missing
+	install -o root -g root -m 644 debian/quassel-core.quasselcore.systemd debian/quassel-core/lib/systemd/system/quasselcore.service
 
 override_dh_installinit:
 	dh_installinit -r --error-handler=exit --name=quasselcore

-- 
quassel packaging



More information about the pkg-kde-commits mailing list