Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 442734 Details for
Bug 486406
net-misc/btsync - Automatically sync files via secure, distributed technology
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
btsync.initd
btsync.initd (text/plain), 1.07 KB, created by
Vladimir Pavljuchenkov (SpiderX)
on 2016-08-07 21:34:50 UTC
(
hide
)
Description:
btsync.initd
Filename:
MIME Type:
Creator:
Vladimir Pavljuchenkov (SpiderX)
Created:
2016-08-07 21:34:50 UTC
Size:
1.07 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2016 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Id$ > >extra_commands="reload" > >NAME=${SVCNAME##*.} >if [ -n "${NAME}" -a "${SVCNAME}" != "btsync" ]; then > PID="/run/btsync/btsync.${NAME}.pid" > PNAME=$(echo ${RC_SVCNAME} | sed 's/\..*//g') > CONF_DEFAULT="/etc/conf.d/btsync.${NAME}" >else > PID="/run/btsync/btsync.pid" > PNAME=${RC_SVCNAME} > CONF_DEFAULT="/etc/conf.d/btsync" >fi >CONF=${CONF:-${CONF_DEFAULT}} >EXEC=${EXEC:-/usr/bin/btsync} > >depend() { > need net > provide btsync >} > >start_pre() { > if [ ! -d /run/btsync ]; then > mkdir /run/btsync > chown ${USER}:${GROUP} /run/btsync > fi >} > >start() { > ebegin "Starting Resilio Sync" > start-stop-daemon --start --quiet --pidfile ${PID} --user ${USER}:${GROUP} --exec ${EXEC} -- ${OPTS} ${CONFIG} > eend $? >} > >stop() { > ebegin "Stopping Resilio Sync" > start-stop-daemon --stop --exec "${EXEC}" --pidfile "${PID}" --retry 10 > eend $? >} > >reload() { > ebegin "Reloading Resilio Sync" > start-stop-daemon --signal HUP --exec "${EXEC}" --pidfile "${PID}" > 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 486406
:
359712
|
359714
|
359716
|
442728
|
442730
|
442732
| 442734 |
442736