Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 330736 Details for
Bug 444936
www-apps/redmine creates keepdir /var/run/redmine
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
redmine fixed initscript
redmine.initd (text/plain), 1.29 KB, created by
Coacher
on 2012-11-27 13:22:54 UTC
(
hide
)
Description:
redmine fixed initscript
Filename:
MIME Type:
Creator:
Coacher
Created:
2012-11-27 13:22:54 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: $ > >RAILS_ENV=${RAILS_ENV:-production} >REDMINE_DIR=${REDMINE_DIR:-/var/lib/redmine} >REDMINE_ADDRESS=${REDMINE_ADDRESS:-localhost} >REDMINE_PORT=${REDMINE_PORT:-3000} >REDMINE_USER=${REDMINE_USER:-redmine} >REDMINE_GROUP=${REDMINE_GROUP:-redmine} >REDMINE_PIDFILE="/var/run/redmine/server.pid" > >depend() { > use apache2 git-daemon mysql net postgresql svnserve >} > >start_pre() { > if [ ! -e "${REDMINE_DIR}/config/initializers/session_store.rb" ] ; then > eerror "Execute the following command to initlize environment:" > eerror > eerror "# emerge --config www-apps/redmine" > eerror > return 1 > fi > > if [ ! -d /var/run/redmine ]; then > checkpath -q -d -m 0755 -o redmine:redmine /var/run/redmine > fi >} > >start() { > ebegin "Starting redmine" > cd "${REDMINE_DIR}" > start-stop-daemon --start --quiet --user ${REDMINE_USER}:${REDMINE_GROUP} \ > --pidfile "${REDMINE_PIDFILE}" \ > --exec /usr/bin/ruby "${REDMINE_DIR}"/script/server -- \ > --daemon --environment=${RAILS_ENV} \ > --binding=${REDMINE_ADDRESS} --port=${REDMINE_PORT} \ > ${REDMINE_OPTS} > eend $? >} > >stop() { > ebegin "Stopping redmine" > cd "${REDMINE_DIR}" > start-stop-daemon --signal INT --quiet --pidfile "${REDMINE_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 444936
:
330734
|
330736