Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8781/scripts
Modified Files:
httpd mysql
Log Message:
Moved startup arguments to config.
Index: httpd
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/httpd,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- httpd 12 Dec 2004 21:48:08 -0000 1.4
+++ httpd 10 Aug 2005 13:48:50 -0000 1.5
@@ -61,6 +61,7 @@
echo "# Start $MYNAME?" >> $CONFIGFILE
echo "START_$MYNAME=no" >> $CONFIGFILE
+ echo "${MYNAME}_PARM=\"-f /etc/apache2/httpd.conf\"" >> $CONFIGFILE
echo >> $CONFIGFILE
echo "HELP_$MYNAME=\"this is the well known Apache Web server\"" >> $SOFTWAREHELP
fi
Index: mysql
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/mysql,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- mysql 29 Jun 2005 14:42:40 -0000 1.21
+++ mysql 10 Aug 2005 13:48:50 -0000 1.22
@@ -67,6 +67,7 @@
if [ "$CONFIG_MYSQL_SERVER" = "y" ]; then
echo "# Start MySQL Server?" >> $CONFIGFILE
echo "START_MYSQL=no" >> $CONFIGFILE
+ echo "MYSQL_PARM=\"--user=mysql --pid-file=/var/run/mysql.pid --datadir=/var/mysql\"" >> $CONFIGFILE
echo >> $CONFIGFILE
echo "HELP_MYSQL=\"MySQL is a OpenSource DB Server\"" >> $SOFTWAREHELP
cp $MYDIR/scripts/mysqld $ETCDIR/etc/init.d || exit 1
|