Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 353958 Details for
Bug 424832
net-nntp/headphones - Automatic music downloader for SABnzbd
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
headphones.ini
headphones.init (text/plain), 1.25 KB, created by
daktak
on 2013-07-23 02:51:37 UTC
(
hide
)
Description:
headphones.ini
Filename:
MIME Type:
Creator:
daktak
Created:
2013-07-23 02:51:37 UTC
Size:
1.25 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2013 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >depend() { > need net >} > >run_dir="/var/run/headphones" >pidfile="$run_dir/headphones.pid" >etc_dir="/etc/headphones" >var_dir="/var/headphones" >log_dir="/var/log/headphones" >program="$CODE_DIR/Headphones.py" >bin=`which $PYTHON_BIN` > >check_config() { > > if [ ! -d "${run_dir}" ]; then > mkdir "${run_dir}" > fi > > # Permission stuff. Should ensure that the daemon user always have write permissions. > # Quick and ugly but should get the job done. > > chown -R ${USER}:${GROUP} "${run_dir}" > chown -R ${USER}.${GROUP} "${var_dir}" > chown -R ${USER}.${GROUP} "${etc_dir}" > chown -R ${USER}.${GROUP} "${log_dir}" > if [ "${WEBUPDATER}" = "YES" ]; then > chown -R ${USER}.${GROUP} "${CODE_DIR}" > fi >} > >start() { > check_config > > ebegin "Starting Headphones" > start-stop-daemon --start --pidfile ${pidfile} -u ${USER} -g ${GROUP}\ > --exec ${bin} ${program} -- \ > -d --pidfile ${pidfile} --datadir ${var_dir} --nolaunch --config ${CONFIG_FILE} --port ${PORT} > eend $? >} > >stop() { > ebegin "Stopping Headphones" > start-stop-daemon --stop --pidfile ${pidfile} > 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 424832
:
317218
|
317220
|
317222
|
353954
|
353956
|
353958
|
353960
|
353962
|
353964
|
353966