Commit 0508d45a authored by Simon Stridsberg's avatar Simon Stridsberg

Use +override_dh_installsystemd to install service files instead of varnish.install

parent cfa8cb37
......@@ -39,7 +39,7 @@ VARNISHD_VRT = $(shell \
# Main build rule, leave everything to debhelper
%:
dh $@ --parallel --with systemd
dh $@ --parallel
ifeq (,$(filter test,$(LOCAL_BUILD_OPTIONS)))
# Disable automated build tests
......@@ -83,13 +83,10 @@ override_dh_gencontrol:
dh_gencontrol -- -Tdebian/substvars; \
fi
override_dh_systemd_enable:
dh_systemd_enable -pvarnish --name=varnish varnish.service
dh_systemd_enable -pvarnish --no-enable varnishncsa.service
override_dh_systemd_start:
dh_systemd_start -pvarnish varnish.service
dh_systemd_start -pvarnish --no-start varnishncsa.service
override_dh_installsystemd:
dh_installsystemd
dh_installsystemd --name varnishncsa --no-enable --no-start
override_dh_compress:
dh_compress -X/usr/share/doc/varnish-doc/html
......
......@@ -5,7 +5,6 @@ usr/lib/varnish
usr/share/man
usr/share/varnish/vcc
usr/share/varnish/vcl
debian/*.service lib/systemd/system/
usr/share/doc/varnish/*.vcl
# from libvarnishapi1
usr/lib/lib*.so*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment