This commit is contained in:
gferg 2002-04-18 00:02:51 +00:00
parent c6698b1418
commit 9855c097e5
9 changed files with 489 additions and 379 deletions

View File

@ -985,7 +985,7 @@ Addresses Linux localization issues specific to Greek users
HighQuality-Apps-HOWTO</ULink>,
<CiteTitle>Creating Integrated High Quality Linux Applications HOWTO</CiteTitle>
</Para><Para>
<CiteTitle>Updated: March 2002</CiteTitle>.
<CiteTitle>Updated: April 2002</CiteTitle>.
Tries to clarify some issues and give
tips on how to create Linux applications highly integrated to
the Operating System, security and easy of use. </Para>
@ -2769,7 +2769,7 @@ configurations, and its operation. </Para>
Unicode-HOWTO</ULink>,
<CiteTitle>The Unicode HOWTO</CiteTitle>
</Para><Para>
<CiteTitle>Updated: August 2000</CiteTitle>.
<CiteTitle>Updated: January 2001</CiteTitle>.
How to change your Linux system so it uses UTF-8 as text encoding. </Para>
</ListItem>

View File

@ -22,7 +22,7 @@ Topics covered in this section include:
Unicode-HOWTO</ULink>,
<CiteTitle>The Unicode HOWTO</CiteTitle>
</Para><Para>
<CiteTitle>Updated: August 2000</CiteTitle>.
<CiteTitle>Updated: January 2001</CiteTitle>.
How to change your Linux system so it uses UTF-8 as text encoding. </Para>
</ListItem>

View File

@ -716,7 +716,7 @@ mod_dynvhost, mod_roaming, mod_jserv, and mod_php. </Para>
<ULINK URL="../HighQuality-Apps-HOWTO/index.html">
HighQuality-Apps-HOWTO</ULink>,
<CiteTitle>Creating Integrated High Quality Linux Applications HOWTO</CiteTitle></Para><Para>
<CiteTitle>Updated: March 2002</CiteTitle>.
<CiteTitle>Updated: April 2002</CiteTitle>.
Tries to clarify some issues and give
tips on how to create Linux applications highly integrated to
the Operating System, security and easy of use. </Para>

View File

@ -1,10 +1,3 @@
<areaspec>
<areaset id="ex.soul.vars" coords="">
<area id="ex.soul.c1" coords=13>
<area id="ex.soul.c2" coords=16>
<area id="ex.soul.c3" coords=18>
</areaset>
</areaspec>
<programlisting>
#############################################################################
##
@ -18,11 +11,11 @@
# A ':' separated list of directories for your content.
# The directories /var/www and /var/MySofware are already there, so
# include here your special directories, if any.
CONF_CONTENT_PATH=/var/NewInstance:/var/NewInstance2
CONF_CONTENT_PATH=/var/NewInstance:/var/NewInstance2 <co id="ex.soul.c1"/>
# Your e-mail address, for notifications.
EMAIL=john@mycompany.com
EMAIL=john@mycompany.com <co id="ex.soul.c2"/>
# Logs directory
LOG_DIR=/var/log/myInstance
LOG_DIR=/var/log/myInstance <co id="ex.soul.c3"/>
</programlisting>

View File

@ -1,9 +1,3 @@
<areaspec>
<area id="ex.body.const.c1" coords=14>
<area id="ex.body.const.c2" coords=17>
<area id="ex.body.conf" coords=21>
<area id="ex.body.merge" coords=26>
</areaspec>
<programlisting>
#!/bin/sh
@ -19,18 +13,18 @@
##
# Default configuration file
CONF=/etc/MySoftware.conf
CONF=/etc/MySoftware.conf <co id="ex.body.const.c1"/>
# Minimal content directories
MIN_CONTENT_PATH=/var/www:/var/MySoftware/www
MIN_CONTENT_PATH=/var/www:/var/MySoftware/www <co id="ex.body.const.c2"/>
if [ -r "$CONF"]; then
. "$CONF"
. "$CONF" <co id="ex.body.conf"/>
fi
# All the content I'll serve are the "minimal" plus the ones provided
# by the user in the configuration file $CONF
CONTENT_PATH=$MIN_CONTENT_PATH:$CONF_CONTENT_PATH
CONTENT_PATH=$MIN_CONTENT_PATH:$CONF_CONTENT_PATH <co id="ex.body.merge"/>
.
.

View File

@ -1,26 +1,10 @@
<areaspec>
<area id="ex.init.chkconfig" coords=6>
<area id="ex.init.sysconfig" coords=17>
<areaset id="ex.init.action" coords="">
<area id="ex.init.start" coords=26>
<area id="ex.init.stop" coords=36>
<area id="ex.init.reload" coords=47>
</areaset>
<area id="ex.init.call" coords=54>
<area id="ex.init.default" coords="80">
<areaset id="ex.init.any" coords="">
<area id="ex.init.any.begin" coords=23>
<area id="ex.init.any.start" coords=29>
<area id="ex.init.any.stop" coords=39>
</areaset>
</areaspec>
<programlisting>
#!/bin/sh
#
# /etc/init.d/mysystem
# Subsystem file for "MySystem" server
#
# chkconfig: 2345 95 05
# chkconfig: 2345 95 05 <co id="ex.init.chkconfig"/>
# description: MySystem server daemon
#
# processname: MySystem
@ -32,43 +16,43 @@
. /etc/rc.d/init.d/functions
# pull in sysconfig settings
[ -f /etc/sysconfig/mySystem ] && . /etc/sysconfig/mySystem
[ -f /etc/sysconfig/mySystem ] &amp;&amp; . /etc/sysconfig/mySystem <co id="ex.init.sysconfig"/>
RETVAL=0
prog="MySystem"
.
.
. <co id="ex.init.any.begin"/>
.
start() {
start() { <co id="ex.init.start"/>
echo -n $"Starting $prog:"
.
.
. <co id="ex.init.any.start"/>
.
RETVAL=$?
[ "$RETVAL" = 0 ] && touch /var/lock/subsys/$prog
[ "$RETVAL" = 0 ] &amp;&amp; touch /var/lock/subsys/$prog
echo
}
stop() {
stop() { <co id="ex.init.stop"/>
echo -n $"Stopping $prog:"
.
.
. <co id="ex.init.any.stop"/>
.
killproc $prog -TERM
RETVAL=$?
[ "$RETVAL" = 0 ] && rm -f /var/lock/subsys/$prog
[ "$RETVAL" = 0 ] &amp;&amp; rm -f /var/lock/subsys/$prog
echo
}
reload() {
reload() { <co id="ex.init.reload"/>
echo -n $"Reloading $prog:"
killproc $prog -HUP
RETVAL=$?
echo
}
case "$1" in
case "$1" in <co id="ex.init.call"/>
start)
start
;;
@ -94,7 +78,7 @@ case "$1" in
status $prog
RETVAL=$?
;;
*)
*) <co id="ex.init.default"/>
echo $"Usage: $0 {start|stop|restart|reload|condrestart|status}"
RETVAL=1
esac

View File

@ -1,5 +1,5 @@
<screen>
<prompt>bash# </prompt><command>/usr/sbin/httpd &</command>
<prompt>bash# </prompt><command>/usr/sbin/httpd -f /etc/httpd/dom1.com.br.conf &</command>
<prompt>bash# </prompt><command>/usr/sbin/httpd -f /etc/httpd/dom2.com.br.conf &</command>
<prompt>bash# </prompt><command>/usr/sbin/httpd -f /etc/httpd/dom3.com.br.conf &</command></screen>
<prompt>bash# </prompt><command>/usr/sbin/httpd &amp;</command>
<prompt>bash# </prompt><command>/usr/sbin/httpd -f /etc/httpd/dom1.com.br.conf &amp;</command>
<prompt>bash# </prompt><command>/usr/sbin/httpd -f /etc/httpd/dom2.com.br.conf &amp;</command>
<prompt>bash# </prompt><command>/usr/sbin/httpd -f /etc/httpd/dom3.com.br.conf &amp;</command></screen>

View File

@ -1,10 +1,10 @@
<screen>
<prompt>bash:/etc/rc3.d# </prompt><command>ls -l</command>
lrwxrwxrwx 1 root root 18 Jan 14 11:59 K92firewall -> ../init.d/firewall
lrwxrwxrwx 1 root root 17 Jan 14 11:59 <emphasis role=strong>S10network -> ../init.d/network</emphasis>
lrwxrwxrwx 1 root root 17 Jan 14 11:59 <emphasis role="strong">S10network -> ../init.d/network</emphasis>
lrwxrwxrwx 1 root root 16 Jan 14 11:59 S12syslog -> ../init.d/syslog
lrwxrwxrwx 1 root root 18 Jan 14 11:59 S17keytable -> ../init.d/keytable
lrwxrwxrwx 1 root root 20 Jan 14 11:59 S56rawdevices -> ../init.d/rawdevices
lrwxrwxrwx 1 root root 16 Jan 14 11:59 S56xinetd -> ../init.d/xinetd
lrwxrwxrwx 1 root root 18 Jan 14 11:59 <emphasis role=strong>S75httpd -> ../init.d/httpd</emphasis>
lrwxrwxrwx 1 root root 18 Jan 14 11:59 <emphasis role="strong">S75httpd -> ../init.d/httpd</emphasis>
lrwxrwxrwx 1 root root 11 Jan 13 21:45 S99local -> ../rc.local</screen>

File diff suppressed because it is too large Load Diff