Date: Wed, 22 Feb 2017 22:24:16 +0000 (UTC) From: Mark Felder <feld@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r434648 - in head/news/nzbget: . files Message-ID: <201702222224.v1MMOGQC006749@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: feld Date: Wed Feb 22 22:24:16 2017 New Revision: 434648 URL: https://svnweb.freebsd.org/changeset/ports/434648 Log: news/nzbget: rc script improvement nzbget obeys normal signals. Use them instead of needlessly complicating the rc script. PR: 216894 Approved by: maintainer timeout MFH: 2017Q1 Modified: head/news/nzbget/Makefile head/news/nzbget/files/nzbget.in Modified: head/news/nzbget/Makefile ============================================================================== --- head/news/nzbget/Makefile Wed Feb 22 22:05:12 2017 (r434647) +++ head/news/nzbget/Makefile Wed Feb 22 22:24:16 2017 (r434648) @@ -4,7 +4,7 @@ PORTNAME= nzbget PORTVERSION= 17.1 DISTVERSIONPREFIX= v -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= news MAINTAINER= toxic@doobie.com Modified: head/news/nzbget/files/nzbget.in ============================================================================== --- head/news/nzbget/files/nzbget.in Wed Feb 22 22:05:12 2017 (r434647) +++ head/news/nzbget/files/nzbget.in Wed Feb 22 22:24:16 2017 (r434648) @@ -21,25 +21,6 @@ load_rc_config ${name} : ${nzbget_enable:=NO} command=%%PREFIX%%/bin/nzbget -start_cmd="${name}_start" -status_cmd="${command} -L S" -stop_cmd="${name}_stop" - -nzbget_start() -{ - echo "Starting ${name}." - # artificial sleep because it doesnt want to start - # after a restart without it - sleep .5 - ${command} -D -} - -nzbget_stop() -{ - echo "Stopping ${name}." - ${command} -Q - # artificial sleep because stop is backgrounded - sleep 3 -} +command_args="-D" run_rc_command "$1"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702222224.v1MMOGQC006749>