Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 339186 Details for
Bug 458034
net-nntp/sabnzbd-0.7.11 initscript always reports crashed status
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
init script patch to support pid file
sabnzbd.initd.patch (text/plain), 1018 bytes, created by
Gerard Neil
on 2013-02-17 20:42:24 UTC
(
hide
)
Description:
init script patch to support pid file
Filename:
MIME Type:
Creator:
Gerard Neil
Created:
2013-02-17 20:42:24 UTC
Size:
1018 bytes
patch
obsolete
>--- sabnzbd.initd 2013-01-07 07:01:25.000000000 +1100 >+++ /etc/init.d/sabnzbd 2013-02-18 07:30:23.497311495 +1100 >@@ -3,17 +3,25 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/net-nntp/sabnzbd/files/sabnzbd.initd,v 1.2 2013/01/06 19:44:49 jsbronder Exp $ > >+rundir=/var/run/sabnzbd >+# pid file name is hard-coded in sabnzbd, this must match >+pidfile=$rundir/sabnzbd-${SABNZBD_PORT}.pid > > depend() { > need net > } > >+start_pre() { >+ checkpath -q -d -o ${SABNZBD_USER}:${SABNZBD_GROUP} -m 0770 "${rundir}" >+} >+ > start() { > ebegin "Starting SABnzbd" > > start-stop-daemon \ > --quiet \ > --start \ >+ --pidfile ${pidfile} \ > --user ${SABNZBD_USER} \ > --group ${SABNZBD_GROUP} \ > --name sabnzbd \ >@@ -22,6 +30,7 @@ > --server ${SABNZBD_SERVER}:${SABNZBD_PORT} \ > --config-file ${SABNZBD_CONFIGFILE} \ > --logging ${SABNZBD_LOGGING} \ >+ --pid ${rundir}/ \ > --daemon > eend $? > }
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 458034
: 339186