forked from I2P_Developers/i2p.i2p
Debian: Add systemd support (ticket #1208)
Currently just for Debian unstable and Ubuntu Saucy and newer.
This commit is contained in:
11
debian/rules
vendored
11
debian/rules
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user