Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 291587 Details for
Bug 389419
net-proxy/ntlmaps - add multiple configuration support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Changed init script
ntlmaps (text/plain), 1.05 KB, created by
Miroslaw Mieszczak
on 2011-11-03 14:59:16 UTC
(
hide
)
Description:
Changed init script
Filename:
MIME Type:
Creator:
Miroslaw Mieszczak
Created:
2011-11-03 14:59:16 UTC
Size:
1.05 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/net-proxy/ntlmaps/files/ntlmaps.init,v 1.3 2005/10/06 21:39:47 mrness Exp $ > > >NTLMAPS_CONFIG_DIR=${NTLMAPS_CONFIG_DIR:-/etc/ntlmaps} > >NTLMAPS_SVC=${SVCNAME#*.} > >if [ -n "${NTLMAPS_SVC}" ] && [ ${SVCNAME} != "ntlmaps" ]; then > PID_FILE="/var/run/ntlmaps.${NTLMAPS_SVC}.pid" > NTLMAPS_CONFIG="${NTLMAPS_CONFIG_DIR}/${NTLMAPS_SVC}.conf" >else > PID_FILE="/var/run/ntlmaps.pid" > NTLMAPS_CONFIG="${NTLMAPS_CONFIG_DIR}/server.conf" >fi > > > > >depend() { > need net >} > >start() { > ebegin "Starting ntlmaps" > touch ${PID_FILE} > chown ntlmaps:ntlmaps ${PID_FILE} > cd /var/log/ntlmaps && \ > start-stop-daemon --quiet --start --background --exec /usr/bin/python \ > --make-pidfile --pidfile ${PID_FILE} --chuid ntlmaps -- /usr/bin/ntlmaps \ > -c ${NTLMAPS_CONFIG} < /dev/null && \ > sleep 1 > eend $? >} >stop() { > ebegin "Stopping ntlmaps" > start-stop-daemon --stop --quiet --pidfile ${PID_FILE} && \ > rm -f ${PID_FILE} > 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 389419
: 291587