svn commit: r434649 - in branches/2017Q1/news/nzbget: . files
Mark Felder
feld at FreeBSD.org
Wed Feb 22 22:24:54 UTC 2017
Author: feld
Date: Wed Feb 22 22:24:53 2017
New Revision: 434649
URL: https://svnweb.freebsd.org/changeset/ports/434649
Log:
MFH: r434648
news/nzbget: rc script improvement
nzbget obeys normal signals. Use them instead of needlessly complicating
the rc script.
PR: 216894
Approved by: maintainer timeout
Approved by: ports-secteam (with hat)
Modified:
branches/2017Q1/news/nzbget/Makefile
branches/2017Q1/news/nzbget/files/nzbget.in
Directory Properties:
branches/2017Q1/ (props changed)
Modified: branches/2017Q1/news/nzbget/Makefile
==============================================================================
--- branches/2017Q1/news/nzbget/Makefile Wed Feb 22 22:24:16 2017 (r434648)
+++ branches/2017Q1/news/nzbget/Makefile Wed Feb 22 22:24:53 2017 (r434649)
@@ -4,7 +4,7 @@
PORTNAME= nzbget
PORTVERSION= 17.1
DISTVERSIONPREFIX= v
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= news
MAINTAINER= toxic at doobie.com
Modified: branches/2017Q1/news/nzbget/files/nzbget.in
==============================================================================
--- branches/2017Q1/news/nzbget/files/nzbget.in Wed Feb 22 22:24:16 2017 (r434648)
+++ branches/2017Q1/news/nzbget/files/nzbget.in Wed Feb 22 22:24:53 2017 (r434649)
@@ -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"
More information about the svn-ports-branches
mailing list