Move legacy /host/bin/run files to /build/runit

This commit is contained in:
2014-12-26 15:22:46 +01:00
parent 4203699269
commit f0143ff60a
5 changed files with 2 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
#!/bin/bash
socat TCP-LISTEN:8888,fork TCP:host:8888 &
socat TCP-LISTEN:80,fork,crlf SYSTEM:"echo HTTP/1.0 200; echo Content-Type: text/plain; echo;" &

View File

@@ -1,4 +0,0 @@
#!/bin/bash
echo "$HOST_ADDR host" >> /tmp/hosts
mkdir -p `dirname $REDIS_LOG` $REDIS_DATA
/usr/sbin/mysqld

View File

@@ -1,18 +0,0 @@
#!/bin/bash
set -m
echo "$HOST_ADDR host" >> /tmp/hosts
mkdir -p `dirname $MYSQL_LOG`
if [ ! -d $MYSQL_DATA ]; then
mkdir `dirname $MYSQL_DATA`
cp /var/lib/mysql/ $MYSQL_DATA -R
chown mysql:mysql $MYSQL_DATA -R
MYSQL_SETUP=true
fi
/usr/bin/mysqld_safe --skip-syslog &
if [[ -n "$MYSQL_SETUP" ]]; then
until [[ -n $(netstat -an | grep 3306) ]]; do
sleep 1
done
mysqladmin -u root password kreeft
fg
fi

View File

@@ -1,4 +0,0 @@
#!/bin/bash
echo "$HOST_ADDR host" >> /tmp/hosts
mkdir -p `dirname $REDIS_LOG` $REDIS_DATA
/opt/redis-$VERSION/src/redis-server $REDIS_CONFIG