From 61d009f18d5886db8b22ae41e04bb41a4ba2fddb Mon Sep 17 00:00:00 2001 From: Quentin Date: Sat, 1 Jun 2019 16:02:49 +0200 Subject: Initial commit --- docker/sogo/entrypoint | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 docker/sogo/entrypoint (limited to 'docker/sogo/entrypoint') diff --git a/docker/sogo/entrypoint b/docker/sogo/entrypoint new file mode 100755 index 0000000..8b39def --- /dev/null +++ b/docker/sogo/entrypoint @@ -0,0 +1,13 @@ +#!/bin/bash +mkdir -p /var/log/sogo +mkdir -p /var/run/sogo +mkdir -p /var/spool/sogo +chown sogo /var/log/sogo +chown sogo /var/run/sogo +chown sogo /var/spool/sogo + +nginx -g 'daemon on; master_process on;' +sudo -u sogo memcached -d +sudo -u sogo sogod +sleep 10 +tail -n200 -f /var/log/sogo/sogo.log -- cgit v1.2.3