Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pkg-varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
pkg-varnish-cache
Commits
0508d45a
Commit
0508d45a
authored
Apr 25, 2024
by
Simon Stridsberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use +override_dh_installsystemd to install service files instead of varnish.install
parent
cfa8cb37
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
9 deletions
+5
-9
compat
debian/compat
+1
-1
rules
debian/rules
+4
-7
varnish.install
debian/varnish.install
+0
-1
varnish.varnishncsa.service
debian/varnish.varnishncsa.service
+0
-0
No files found.
debian/compat
View file @
0508d45a
1
0
1
1
debian/rules
View file @
0508d45a
...
...
@@ -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
...
...
debian/varnish.install
View file @
0508d45a
...
...
@@ -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
*
...
...
debian/varnishncsa.service
→
debian/varnish
.varnish
ncsa.service
View file @
0508d45a
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment