Hi

I was not able to stop varnish on my machine and noticed that the pexp
didn't match. This my ps output:

_varnish 10665  1.2  4.2 24280 88380 ??  S     10:21PM    0:00.46 varnishd:
Varnish-Child -i xxxxx.home.ctors.net (varnishd)
_varnish 21965  0.0  0.1  1608  2240 ??  Ss    10:21PM    0:00.01 varnishd:
Varnish-Mgt -i xxxxx.home.ctors.net (varnishd)

So, here is a fix for it:

Index: www/varnish//pkg/varnishd.rc
===================================================================
RCS file: /cvs/ports/www/varnish/pkg/varnishd.rc,v
retrieving revision 1.4
diff -u -p -u -r1.4 varnishd.rc
--- www/varnish//pkg/varnishd.rc        11 Jan 2018 19:27:12 -0000      1.4
+++ www/varnish//pkg/varnishd.rc        3 Feb 2018 22:52:16 -0000
@@ -7,7 +7,7 @@ daemon_flags="-j unix,user=_varnish,ccgr

 . /etc/rc.d/rc.subr

-pexp="varnishd: Varnish-Mgr $(hostname)"
+pexp="varnishd: Varnish-Mgt -i $(hostname)"
 rc_reload=NO

 rc_cmd $1

Reply via email to