Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 164263 Details for
Bug 132590
Ebuild for sabnzbd (new package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sabnzbd.init
sabnzbd.init (text/plain), 1.08 KB, created by
Thomas Kuther
on 2008-09-01 16:03:49 UTC
(
hide
)
Description:
sabnzbd.init
Filename:
MIME Type:
Creator:
Thomas Kuther
Created:
2008-09-01 16:03:49 UTC
Size:
1.08 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > > >opts="start stop" > >depend() { > need net >} > >start() { > ebegin "Starting SABnzbd" > if ! check_config ; then > eend 1 > return 1 > fi > > start-stop-daemon --quiet --start -c ${SAB_USER} -g ${SAB_GROUP} \ > --name SABnzbd.py --exec /usr/bin/SABnzbd.py -- \ > -s ${SAB_HOSTNAME}:${SAB_PORT} -f ${SAB_CONFIGFILE} -d &> /dev/null > eend $? >} > >stop() { > ebegin "Stopping SABnzbd" > URL="http://${SAB_HOSTNAME}:${SAB_PORT}/sabnzbd/shutdown" > if [ -x /usr/bin/wget ] ; then > /usr/bin/wget -q --delete-after "${URL}" > elif [ -x /usr/bin/curl ] ; then > /usr/bin/curl --silent "${URL}" > /dev/null 2> /dev/null > else > ewarn "missing wget and curl, ending all processes named SABnzbd.py" > start-stop-daemon --quiet --stop --name SABnzbd.py > fi > eend $? >} > >check_config() { > if [ ! -e ${SAB_CONFIGFILE} ] ; then > eerror "ERROR: can't find ${SAB_CONFIGFILE}." > return 1 > else > return 0 > fi >}
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 Raw
Actions:
View
Attachments on
bug 132590
:
86376
|
95475
|
95478
|
95479
|
108363
|
108365
|
108366
|
111084
|
111087
|
111089
|
111091
|
111094
|
161536
|
161537
|
161539
|
161541
|
161544
|
161812
|
161814
|
164169
|
164256
|
164257
|
164258
|
164263
|
171728
|
171729
|
171730
|
246967
|
246968
|
246970
|
246972
|
246974
|
246976
|
246978
|
246979
|
247310
|
266817
|
272339
|
272341
|
272343
|
272345
|
272583
|
273731
|
273733
|
273735
|
274375
|
290557
|
295443
|
295445
|
295447
|
305361
|
305363
|
305365
|
305367
|
305371
|
311453
|
317236
|
317494
|
318768
|
318772
|
319228
|
319336
|
322298