Monday, June 26, 2017

fix net/ladvd rc script

Missed this while updating the port to 1.1.1; apologies.

The pexp for ladvd has changed (the privileged process is now called
'parent' instead of 'master'). Discovered after I upgraded production
machines to a more recent snap which then started complaining about
failed ladvd in daily mails.

Cheers,

Paul 'WEiRD' de Weerd

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/ladvd/Makefile,v
retrieving revision 1.19
diff -u -p -r1.19 Makefile
--- Makefile 16 Jun 2017 15:05:00 -0000 1.19
+++ Makefile 27 Jun 2017 06:54:32 -0000
@@ -7,6 +7,7 @@ CATEGORIES = net
DISTNAME = ladvd-1.1.1
MASTER_SITES = https://github.com/sspans/ladvd/files/1065794/
HOMEPAGE = http://blinkenlights.nl/software/ladvd/
+REVISION = 0

MAINTAINER = Paul de Weerd <weerd@weirdnet.nl>

Index: pkg/ladvd.rc
===================================================================
RCS file: /cvs/ports/net/ladvd/pkg/ladvd.rc,v
retrieving revision 1.2
diff -u -p -r1.2 ladvd.rc
--- pkg/ladvd.rc 15 Jul 2015 17:45:12 -0000 1.2
+++ pkg/ladvd.rc 27 Jun 2017 06:54:38 -0000
@@ -7,7 +7,7 @@ daemon_flags="-a -z"

. /etc/rc.d/rc.subr

-pexp="ladvd: master \[priv\]"
+pexp="ladvd: parent \[priv\].*"
rc_reload=NO

rc_cmd $1

--
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
http://www.weirdnet.nl/

No comments:

Post a Comment