planet.plone.org/svx: WIP: add enrtypoint script

sven <jenkins-z4DKO/[email protected]> Mon, 31 Jul 2017 08:35:43 -0700 (PDT)
Newsgroups gmane.comp.web.zope.plone.cvs
Message-ID <[email protected]>
Repository: planet.plone.org
Branch: refs/heads/svx
Date: 2017-07-31T17:35:25+02:00
Author: sven (svx) <[email protected]>
Commit: https://github.com/plone/planet.plone.org/commit/73e68ca8604c6167af7290b4c650ff9ac20d534c

WIP: add enrtypoint script

Files changed:
A dockerfiles/entrypoint.sh

diff --git a/dockerfiles/entrypoint.sh b/dockerfiles/entrypoint.sh
new file mode 100644
index 0000000..4d9dd63
--- /dev/null
+++ b/dockerfiles/entrypoint.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -e
+
+# Run planet on startup
+python2 /srv/venus/source /srv/venus/planet.plone.org/planet.ini
+
+# Start honcho
+cd /srv && honcho start



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot