FreeBSD Bugzilla – Attachment 179721 Details for
Bug 216894
[PATCH] news/nzbget: Improve and simplify rc script
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
rc script improvement
nzbget.diff (text/plain), 954 bytes, created by
Mark Felder
on 2017-02-07 20:40:03 UTC
(
hide
)
Description:
rc script improvement
Filename:
MIME Type:
Creator:
Mark Felder
Created:
2017-02-07 20:40:03 UTC
Size:
954 bytes
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 433585) >+++ Makefile (working copy) >@@ -4,7 +4,7 @@ > PORTNAME= nzbget > PORTVERSION= 17.1 > DISTVERSIONPREFIX= v >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= news > > MAINTAINER= toxic@doobie.com >Index: files/nzbget.in >=================================================================== >--- files/nzbget.in (revision 433585) >+++ files/nzbget.in (working copy) >@@ -21,25 +21,6 @@ > : ${nzbget_enable:=NO} > > command=%%PREFIX%%/bin/nzbget >-start_cmd="${name}_start" >-status_cmd="${command} -L S" >-stop_cmd="${name}_stop" >+command_args="-D" > >-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 >-} >- > run_rc_command "$1"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 216894
: 179721