Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 116316 Details for
Bug 174686
New ebuild for sharedance session server
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Suggested init.d file for sharedance ebuild
init.d (text/plain), 1.11 KB, created by
André Malo
on 2007-04-15 15:42:20 UTC
(
hide
)
Description:
Suggested init.d file for sharedance ebuild
Filename:
MIME Type:
Creator:
André Malo
Created:
2007-04-15 15:42:20 UTC
Size:
1.11 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header$ > ># NB: Config is in /etc/conf.d/sharedance > > >PIDFILE="${PIDFILE:-/var/run/sharedance.pid}" >SESSIONDIR="${SESSIONDIR:-/var/spool/sharedance}" > >start() { > ebegin "Starting sharedance" > [ "${BIND}" = '*' -o "$(tr ANY any <<<"${BIND}")" = "any" ] && BIND= > [ "$(tr YES yes <<<"${DEBUG}")" != "yes" ] && DEBUG= > > export LC_ALL > > start-stop-daemon --start --background --pidfile "${PIDFILE}" \ > --make-pidfile --exec /usr/sbin/sharedanced -- \ > ${BIND:+--ip=${BIND}} \ > ${PORT:+--port=${PORT}} \ > ${BACKLOG:+--backlog=${BACKLOG}} \ > ${SESSIONDIR:+--directory="${SESSIONDIR}"} \ > ${READ_BUFFER:+--readsize=${READ_BUFFER}} \ > ${READ_MAX:+--maxreadsize=${READ_MAX}} \ > ${EXPIRY:+--expiration=${EXPIRY}} \ > ${TIMEOUT:+--timeout=${TIMEOUT}} \ > ${DEBUG:+--debug} \ > ${USER_ID:+--uid=${USER_ID}} \ > ${GROUP_ID:+--gid=${GROUP_ID}} > eend $? >} > >stop() { > ebegin "Stopping sharedance" > start-stop-daemon --stop --background --pidfile "${PIDFILE}" \ > --make-pidfile --exec /usr/sbin/sharedanced > 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 174686
:
116313
|
116314
| 116316