Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 246976 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]
Files for sabnzbd
sabnzbd.init (text/plain), 1.22 KB, created by
Aniruddha
on 2010-09-12 14:12:38 UTC
(
hide
)
Description:
Files for sabnzbd
Filename:
MIME Type:
Creator:
Aniruddha
Created:
2010-09-12 14:12:38 UTC
Size:
1.22 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 > export SABNZBD_CONFIG > start-stop-daemon --quiet --background --start -c ${SABNZBD_USER}:${SABNZBD_GROUP} \ > --exec /usr/bin/SABnzbd -- \ > -s ${SABNZBD_HOSTNAME}:${SABNZBD_PORT} -d &> /dev/null > eend $? >} > >stop() { > ebegin "Stopping SABnzbd" > if [[ -n $SABNZBD_APIKEY ]];then > URL="http://${SABNZBD_HOSTNAME}:${SABNZBD_PORT}/shutdown?session=$SABNZBD_APIKEY" > else > URL="http://${SABNZBD_HOSTNAME}:${SABNZBD_PORT}/shutdown" > fi > ewarn "Remote stop url is : $URL" > if [ -x /usr/bin/wget ] ; then > /usr/bin/wget --http-user="$SABNZBD_HTTPUSER" --http-password="$SABNZBD_PASSWORD" -q --delete-after "${URL}" > elif [ -x /usr/bin/curl ] ; then > /usr/bin/curl --silent "${URL}" > /dev/null 2> /dev/null > fi > ewarn "Waiting for shutdown" > sleep 10 > start-stop-daemon --quiet --stop --name SABnzbd.py > eend $? >} > >check_config() { > if [ ! -e ${SABNZBD_CONFIG} ] ; then > eerror "ERROR: can't find ${SABNZBD_CONFIG}." > return 1 > else > return 0 > fi >} > >#vim:set et:
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