Module: check_mk
Branch: master
Commit: 6daf3ced5295fbead23f931af1373ea8ed04e91f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6daf3ced5295fb…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Sep 14 19:45:54 2018 +0200
Use the new --no-tmpfs option to start without a tmpfs
Change-Id: I1f972f2d6ee7a9a4a5268de08220153c14ea8b57
---
docker/docker-entrypoint.sh | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh
index 314c075..d334c62 100755
--- a/docker/docker-entrypoint.sh
+++ b/docker/docker-entrypoint.sh
@@ -30,10 +30,9 @@ fi
# Create the site in case it does not exist
if [ ! -d "/opt/omd/sites/$CMK_SITE_ID" ] ; then
echo "### CREATING SITE '$CMK_SITE_ID'"
- omd create -u 1000 -g 1000 "$CMK_SITE_ID"
+ omd create --no-tmpfs -u 1000 -g 1000 "$CMK_SITE_ID"
omd config "$CMK_SITE_ID" set APACHE_TCP_ADDR 0.0.0.0
omd config "$CMK_SITE_ID" set APACHE_TCP_PORT 5000
- omd config "$CMK_SITE_ID" set TMPFS off
if [ "$CMK_LIVESTATUS_TCP" = "on" ]; then
omd config "$CMK_SITE_ID" set LIVESTATUS_TCP on