diff options
author | wiz <wiz@pkgsrc.org> | 2015-01-26 23:03:37 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2015-01-26 23:03:37 +0000 |
commit | b2c8469e159e3aa80dc4c9e51aebae589a3f098d (patch) | |
tree | 5d5933b457f157e523cd6b45f33728b058a19bd2 /sysutils/tenshi | |
parent | 1b61cc2a0bcc05e3c4f29fb95b5a9e4497b1c284 (diff) | |
download | pkgsrc-b2c8469e159e3aa80dc4c9e51aebae589a3f098d.tar.gz |
The SMF default signaling method, :kill, sends a signal to all
processes associated with the service. In the case of tenshi, the
refresh method currently uses :kill -HUP, which sends a HUP to the
spawned tail process as well as the tenshi process, killing the
tail and breaking tenshi.
Fix this problem. Bump PKGREVISION.
From Paul B. Henson in PR 49607.
Diffstat (limited to 'sysutils/tenshi')
-rw-r--r-- | sysutils/tenshi/Makefile | 3 | ||||
-rw-r--r-- | sysutils/tenshi/files/smf/manifest.xml | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/tenshi/Makefile b/sysutils/tenshi/Makefile index c150835518e..664eff07507 100644 --- a/sysutils/tenshi/Makefile +++ b/sysutils/tenshi/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.1 2015/01/13 22:20:03 bsiegert Exp $ +# $NetBSD: Makefile,v 1.2 2015/01/26 23:03:37 wiz Exp $ # DISTNAME= tenshi-0.15 +PKGREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://dev.inversepath.com/download/tenshi/ diff --git a/sysutils/tenshi/files/smf/manifest.xml b/sysutils/tenshi/files/smf/manifest.xml index 0b3a6c4d768..ec83c1b945d 100644 --- a/sysutils/tenshi/files/smf/manifest.xml +++ b/sysutils/tenshi/files/smf/manifest.xml @@ -15,7 +15,7 @@ </dependency> <exec_method name='start' type='method' exec='@PREFIX@/sbin/tenshi -c @PKG_SYSCONFDIR@/tenshi/tenshi.conf -P @VARBASE@/lib/tenshi/tenshi.pid' timeout_seconds='60' /> <exec_method name='stop' type='method' exec=':kill' timeout_seconds='60' /> - <exec_method name='refresh' type='method' exec=':kill -HUP' timeout_seconds='60' /> + <exec_method name='refresh' type='method' exec='pkill -HUP -c %{restarter/contract} -n' timeout_seconds='60' /> <property_group name='startd' type='framework'> <propval name='ignore_error' type='astring' value='signal' /> </property_group> |