Debian: Add systemd support (ticket #1208)

Currently just for Debian unstable and Ubuntu Saucy and newer.
This commit is contained in:
kytv
2014-03-13 02:29:41 +00:00
parent 738c5ed14e
commit bfba732f76
5 changed files with 111 additions and 46 deletions

11
debian/rules vendored
View File

@@ -36,6 +36,10 @@ export DEBIANVERSION := $(shell dpkg-parsechangelog |awk -F' ' '/^Version:/{prin
%:
dh $@ --with quilt
# with systemd needs dh-systemd which isn't available in Wheezy (except from backports),
# and is only Ubuntu as of "Saucy". The official packages will enable this for Debian unstable and
# Ubuntu Saucy (and newer)
#dh $@ --with systemd,quilt
clean: createcopyright
@@ -50,6 +54,13 @@ override_dh_auto_clean:
override_dh_auto_build:
# Uncomment the next override line for systems that support dh-systemd
# (currently Debian unstable and Ubuntu Saucy (and newer))
#override_dh_systemd_enable:
# We purposely do not set I2P to start at boot.
# This matches the behavior of the initscript
# and the setting RUN_DAEMON=false in /etc/default/i2p
binary-indep: build-indep
build-indep:
dh_prep