Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 352906 Details for
Bug 476258
net-nntp/mylar - Comic book downloader for usenet.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
mylar.init
mylar.init (text/plain), 1.29 KB, created by
daktak
on 2013-07-09 07:29:01 UTC
(
hide
)
Description:
mylar.init
Filename:
MIME Type:
Creator:
daktak
Created:
2013-07-09 07:29:01 UTC
Size:
1.29 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2012 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >depend() { > need net >} > >run_dir="/var/run/mylar" >pidfile="$run_dir/mylar.pid" >etc_dir="/etc/mylar" >var_dir="/var/mylar" >log_dir="/var/log/mylar" >program="$CODE_DIR/Mylar.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 Mylar" > 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 Mylar" > 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 476258
:
352904
| 352906 |
352908
|
352910
|
352912
|
353834
|
353968