Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jan 2021 22:37:46 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r561284 - in head/irc/quassel: . files
Message-ID:  <202101112237.10BMbknm047646@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb (src,doc committer)
Date: Mon Jan 11 22:37:46 2021
New Revision: 561284
URL: https://svnweb.freebsd.org/changeset/ports/561284

Log:
  More cleanly daemonize quasselcore.
  
  - Use -c with daemon to change the working directory to / before
    invoking quasselcore.
  
  - Use -f with daemon to redirect stdout/stdin/stderr to /dev/null
    before invoking quasselcore.
  
  Reviewed by:	woodsb02 (maintainer)
  Differential Revision:	https://reviews.freebsd.org/D28096

Modified:
  head/irc/quassel/Makefile
  head/irc/quassel/files/quasselcore.in

Modified: head/irc/quassel/Makefile
==============================================================================
--- head/irc/quassel/Makefile	Mon Jan 11 22:00:29 2021	(r561283)
+++ head/irc/quassel/Makefile	Mon Jan 11 22:37:46 2021	(r561284)
@@ -3,7 +3,7 @@
 
 PORTNAME=	quassel
 PORTVERSION=	0.13.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	irc
 
 MAINTAINER=	woodsb02@FreeBSD.org

Modified: head/irc/quassel/files/quasselcore.in
==============================================================================
--- head/irc/quassel/files/quasselcore.in	Mon Jan 11 22:00:29 2021	(r561283)
+++ head/irc/quassel/files/quasselcore.in	Mon Jan 11 22:37:46 2021	(r561284)
@@ -36,7 +36,7 @@ procname="%%PREFIX%%/bin/quasselcore"
 pidfile="/var/run/${name}.pid"
 
 command="/usr/sbin/daemon"
-command_args="-p ${pidfile} ${procname} ${quasselcore_args}"
+command_args="-cf -p ${pidfile} ${procname} ${quasselcore_args}"
 
 start_precmd="${name}_prestart"
 stop_postcmd="${name}_poststop"



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