Reorganize some files and import some others
This commit is contained in:
7
build/runit/lighttpd
Normal file
7
build/runit/lighttpd
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
mkdir -p `dirname $LIGHTTPD_LOG` $LIGHTTPD_DOMAINS
|
||||
chown www-data:www-data `dirname $LIGHTTPD_LOG`
|
||||
if [[ ! -e $LIGHTTPD_DOMAINS ]]; then
|
||||
touch $LIGHTTPD_DOMAINS/empty.conf
|
||||
fi
|
||||
/usr/sbin/lighttpd -D -f $LIGHTTPD_CONFIG
|
||||
@@ -13,6 +13,6 @@ if [[ -n "$MYSQL_SETUP" ]]; then
|
||||
until [[ -n $(netstat -an | grep 3306) ]]; do
|
||||
sleep 1
|
||||
done
|
||||
mysqladmin -u root password kreeft
|
||||
mysqladmin -u root password dummy
|
||||
fg
|
||||
fi
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#!/bin/sh
|
||||
echo "$HOST_ADDR host" >> /tmp/hosts
|
||||
mkdir -p `dirname $REDIS_LOG` $REDIS_DATA
|
||||
sysctl vm.overcommit_memory=1
|
||||
/usr/bin/redis-server $REDIS_CONFIG
|
||||
|
||||
Reference in New Issue
Block a user