Commit 555b2dc4 authored by Lasse Karstensen's avatar Lasse Karstensen

Avoid symlink name influencing pidfile name.

Fix by hardcoding as suggested by Federico Schwindt.

This change also reverts the pid file name change that was an uninteded
side effect of a59b3bdd in Nov 2015. That commit renamed the pid file
from varnishd.pid to varnish.pid.

From a maintenance branch perspective it is not a good thing to change
these names, but I think going back to the original is the least painful way
moving forward. We'll have systems with sysv init for many years still.

Fixes: #22
parent b1ad7d8a
......@@ -16,7 +16,7 @@
# Source function library
. /lib/lsb/init-functions
SERVICE="$(basename ${0})"
SERVICE=varnishd
DESC="HTTP accelerator"
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/varnishd
......
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