Last fixes for live system
This commit is contained in:
parent
3ecf0614af
commit
d0612f3a67
|
@ -11,7 +11,6 @@ if [[ -e /data/ssl/fullchain1.pem ]] ; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
/etc/init.d/apache2 start
|
/etc/init.d/apache2 start
|
||||||
tail -f /var/log/apache2/error.log &
|
|
||||||
|
|
||||||
export OER_SRC_DIR=/data/oer
|
export OER_SRC_DIR=/data/oer
|
||||||
export PLATFORM_PATH=/data/src
|
export PLATFORM_PATH=/data/src
|
||||||
|
@ -58,4 +57,4 @@ fi
|
||||||
|
|
||||||
# hardening...
|
# hardening...
|
||||||
|
|
||||||
/bin/bash
|
tail -f /var/log/apache2/error.log
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
(
|
||||||
|
cd /home/oer/icp/
|
||||||
|
git pull
|
||||||
|
|
||||||
|
OLD=$(docker ps|grep "kunkel/oer\b"|cut -d " " -f 1)
|
||||||
|
if [[ $OLD != "" ]] ; then
|
||||||
|
docker stop $OLD
|
||||||
|
fi
|
||||||
|
|
||||||
|
./dev/run-container-server.sh
|
||||||
|
) > /dev/null
|
Loading…
Reference in New Issue