Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Feb 2021 15:35:32 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r566228 - in head/multimedia/webcamd: . files
Message-ID:  <202102211535.11LFZWQT047682@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Sun Feb 21 15:35:31 2021
New Revision: 566228
URL: https://svnweb.freebsd.org/changeset/ports/566228

Log:
  Fix unintended activation of automatic process already running checks
  after SVN r564686.
  
  Approved by:	pi (implicit)

Modified:
  head/multimedia/webcamd/Makefile
  head/multimedia/webcamd/files/webcamd.in

Modified: head/multimedia/webcamd/Makefile
==============================================================================
--- head/multimedia/webcamd/Makefile	Sun Feb 21 13:21:39 2021	(r566227)
+++ head/multimedia/webcamd/Makefile	Sun Feb 21 15:35:31 2021	(r566228)
@@ -3,7 +3,7 @@
 
 PORTNAME=	webcamd
 DISTVERSION=	5.10.6.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	multimedia
 
 MAINTAINER=	hselasky@FreeBSD.org

Modified: head/multimedia/webcamd/files/webcamd.in
==============================================================================
--- head/multimedia/webcamd/files/webcamd.in	Sun Feb 21 13:21:39 2021	(r566227)
+++ head/multimedia/webcamd/files/webcamd.in	Sun Feb 21 15:35:31 2021	(r566228)
@@ -105,6 +105,13 @@ start_cmd="${name}_start"
 stop_cmd="${name}_stop"
 status_cmd="${name}_status"
 
+#
+# The following pidfile should not exist and
+# allows multiple instances of webcamd to be
+# started.
+#
+pidfile="/var/run/${name}.dummy.pid"
+
 webcamd_pids()
 {
   pids=$(pgrep -d ' ' $name)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102211535.11LFZWQT047682>