Dear maintainer,

In addition to the service file I already posted, I attached a patch
which uses dh-systemd:

By applying dh-systemd.patch, systemd users will enjoy a fully working
privoxy on their machines: it will get enabled and started properly
(even if installed on sysvinit and later switching to systemd).

You can see the differences this patch causes in the attached
dh-systemd.debdiff. Use:

    colordiff --difftype=debdiff < dh-systemd.debdiff

(colordiff's highlighting is not entirely correct, but very helpful.)

Please add the service file and apply this patch before uploading a new
version. Thank you!

For more details on dh-systemd packaging, see
http://wiki.debian.org/Systemd/Packaging
In case of any questions, feel free to drop by in #debian-systemd or
send an email to pkg-systemd-maintain...@lists.alioth.debian.org

--
Best regards,
Michael

Attachment: dh-systemd.debdiff
Description: Binary data

diff -ur OLD/debian/control NEW/debian/control
--- OLD/debian/control	2013-07-09 21:38:11.000000000 +0200
+++ NEW/debian/control	2013-07-09 21:40:07.952687053 +0200
@@ -3,7 +3,8 @@
 Priority: optional
 Maintainer: Roland Rosenfeld <rol...@debian.org>
 Build-Depends: debhelper (>= 9), autoconf, autotools-dev, libpcre3-dev,
- jade, docbook-dsssl, docbook, w3m, sp, sgmlspl, groff, man2html, zlib1g-dev
+ jade, docbook-dsssl, docbook, w3m, sp, sgmlspl, groff, man2html, zlib1g-dev,
+ dh-systemd (>= 1.4)
 Standards-Version: 3.9.3
 Homepage: http://www.privoxy.org/
 
diff -ur OLD/debian/rules NEW/debian/rules
--- OLD/debian/rules	2013-07-09 21:38:07.000000000 +0200
+++ NEW/debian/rules	2013-07-09 21:40:07.952687053 +0200
@@ -9,7 +9,7 @@
 DEBDIR=`pwd`/debian/privoxy
 
 %:
-	dh  $@
+	dh  $@ --with=systemd
 
 override_dh_auto_configure:
 	autoheader

Reply via email to