Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 148553 Details for
Bug 205933
net-p2p/clutch-0.2 ebuild request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
/www-apps/clutch/files/clutch.init
clutch.init (text/plain), 976 bytes, created by
Andreas Sembrant
on 2008-04-03 23:16:17 UTC
(
hide
)
Description:
/www-apps/clutch/files/clutch.init
Filename:
MIME Type:
Creator:
Andreas Sembrant
Created:
2008-04-03 23:16:17 UTC
Size:
976 bytes
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > ># Change user and group >user=apache >group=apache > ># Name of the dir where .transmission, pid and socket will be located. ># Best way is to use the filename of this file. >name=clutch > >DIR=/var/clutch > >SPDIR=${DIR}/${name} >PIDFILE=${SPDIR}/${name}.pid >SOCKETFILE=${SPDIR}/${name}.socket > >DAEMON=/usr/bin/transmission-daemon > >depend() { > need net >} > >start() { > ebegin "Starting clutch" > > if [ ! -d ${DIR} ]; then > mkdir ${DIR} > fi > > if [ ! -d ${SPDIR} ]; then > mkdir ${SPDIR} > chown ${user}:${group} ${SPDIR} > fi > > start-stop-daemon --start --chuid ${user} --env HOME=${SPDIR} \ > --pidfile ${PIDFILE} --exec ${DAEMON} -- \ > --pidfile ${PIDFILE} --socket ${SOCKETFILE} > eend $? >} > >stop() { > ebegin "Stopping clutch" > start-stop-daemon --stop --pidfile ${PIDFILE} --exec ${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 Raw
Actions:
View
Attachments on
bug 205933
:
148551
| 148553 |
148555