From 11cbb530aa4ca54344eb8941342bfe510f4b981b Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Mon, 10 Feb 2014 14:37:55 +0000 Subject: Add systemd support (thanks, Sven Joachim; closes: #676830). --- debian/rules | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 5b0d8f9d6..c8870b3a4 100755 --- a/debian/rules +++ b/debian/rules @@ -114,7 +114,7 @@ confflags += --with-ldflags='$(strip -Wl,--as-needed $(default_ldflags))' confflags_udeb += --with-ldflags='-Wl,--as-needed' %: - dh $@ --with=autoreconf + dh $@ --with=autoreconf,systemd autoreconf: autoreconf -f -i @@ -190,6 +190,9 @@ override_dh_installdocs: # Avoid breaking dh_installexamples later. mkdir -p debian/openssh-server/usr/share/doc/openssh-client +override_dh_systemd_enable: + dh_systemd_enable --name ssh + override_dh_installinit: dh_installinit -R --name ssh -- start 16 2 3 4 5 . -- cgit v1.2.3