Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 399068 Details for
Bug 471004
app-backup/copy - client for the copy.com cloud backup service
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Draft /etc/init.d/copyconsole
copy-initscript.txt (text/plain), 1.39 KB, created by
David Gasaway
on 2015-03-16 22:19:59 UTC
(
hide
)
Description:
Draft /etc/init.d/copyconsole
Filename:
MIME Type:
Creator:
David Gasaway
Created:
2015-03-16 22:19:59 UTC
Size:
1.39 KB
patch
obsolete
>#!/sbin/runscript >PID_DIR=/var/run/copyconsole > >depend() { > need localmount net > after bootmisc >} > >start() { > local tmpnice="${NICE:+"--nicelevel "}${NICE}" > local tmpionice="${IONICE:+"--ionice "}${IONICE}" > local started="" > > mkdir -p ${PID_DIR} > > ebegin "Starting copyconsole" > for dbuser in ${COPY_USERS}; do > local homedir=$(eval echo ~${dbuser}) > local pidfile=${PID_DIR}/${dbuser}.pid > if test -d "${homedir}" && \ > start-stop-daemon -S -b \ > ${tmpnice} ${tmpionice} \ > -u ${dbuser} -v \ > -e HOME=${homedir} \ > -m -p ${pidfile} \ > -x /opt/bin/copyconsole; then > started="${started} ${dbuser}" > else > eend $? > eerror "Failed to start copyconsole for ${dbuser}" > if [ -n "${started}" ]; then > eerror "Stopping already started copyconsole" > COPY_USERS=${started} stop > fi > return 1 > fi > done > if [ -z "${started}" ];then > eerror "No copyconsole started" > eend 1 > else > eend 0 > fi >} > >status() { > for dbuser in ${COPY_USERS}; do > local pidfile=${PID_DIR}/${dbuser}.pid > if [ -e ${pidfile} ] ; then > echo "copyconsole for USER $dbuser: running." > else > echo "copyconsole for USER $dbuser: not running." > fi > done >}
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 471004
: 399068 |
399070