Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 763003 Details for
Bug 831735
net-p2p/syncthing: make openrc service ready for multiple instances
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
modified syncthing init script
syncthing (text/plain), 1.25 KB, created by
Till Schäfer
on 2022-01-21 14:03:16 UTC
(
hide
)
Description:
modified syncthing init script
Filename:
MIME Type:
Creator:
Till Schäfer
Created:
2022-01-21 14:03:16 UTC
Size:
1.25 KB
patch
obsolete
>#!/sbin/openrc-run ># Copyright 1999-2022 Gentoo Authors ># Distributed under the terms of the GNU General Public License v2 > >SYNCTHING_USER=${SYNCTHING_USER:-syncthing} >SYNCTHING_GROUP=${SYNCTHING_GROUP:-syncthing} >SYNCTHING_HOMEDIR=${SYNCTHING_HOMEDIR:-/var/lib/syncthing/.config/syncthing} >SYNCTHING_LOGFILE=${SYNCTHING_LOGFILE:-/var/log/syncthing/syncthing.log} >SYNCTHING_UMASK=${SYNCTHING_UMASK:-007} >SYNCTHING_IONICE=${SYNCTHING_IONICE:-0} >SYNCTHING_NICE=${SYNCTHING_NICE:-0} >SYNCTHING_GUI_ADDRESS=${SYNCTHING_GUI_ADDRESS:-127.0.0.1:8384} > >description="Syncthing is an open, trustworthy and decentralized cloud storage system" >command="/usr/bin/syncthing" >command_args="-no-browser -home=${SYNCTHING_HOMEDIR} -gui-address=${SYNCTHING_GUI_ADDRESS} ${SYNCTHING_OPTS}" >pidfile="/run/${RC_SVCNAME}.pid" >command_background="yes" >command_user="${SYNCTHING_USER}:${SYNCTHING_GROUP}" >umask="${SYNCTHING_UMASK}" >start_stop_daemon_args="--ionice ${SYNCTHING_IONICE} \ > --nicelevel ${SYNCTHING_NICE}" >output_log="\"${SYNCTHING_LOGFILE}\"" >error_log="\"${SYNCTHING_LOGFILE}\"" > >depend() { > need localmount net >} > >start_pre() { > checkpath -q -d -o ${SYNCTHING_USER}:${SYNCTHING_GROUP} ${SYNCTHING_HOMEDIR} > checkpath -q -f -o ${SYNCTHING_USER}:${SYNCTHING_GROUP} ${SYNCTHING_LOGFILE} >}
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 831735
: 763003 |
763004