+ add start and stop shell.
This commit is contained in:
@@ -76,5 +76,7 @@ cp ../zentao.conf etc/extra/httpd-xampp.conf
|
||||
# copy the zentao code.
|
||||
mv ../../../zentaopms ./zentao
|
||||
|
||||
# copy the makefile
|
||||
# copy needed files.
|
||||
cp ../Makefile .
|
||||
cp ../start .
|
||||
cp ../stop .
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
if test "`id -u`" -ne 0
|
||||
then
|
||||
echo "You need to start XAMPP as root!"
|
||||
exit
|
||||
fi
|
||||
|
||||
chown nobody -R var/mysql
|
||||
chmod 777 tmp
|
||||
./lampp start
|
||||
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
if test "`id -u`" -ne 0
|
||||
then
|
||||
echo "You need to start XAMPP as root!"
|
||||
exit
|
||||
fi
|
||||
|
||||
./lampp stop
|
||||
Reference in New Issue
Block a user