summaryrefslogtreecommitdiff
path: root/images/paste/service
diff options
context:
space:
mode:
authorSystem administrator2017-05-29 13:26:10 +0200
committerSystem administrator2017-05-29 13:26:10 +0200
commitbc5c44dd049bad3b007be48b3f8d90886d63c105 (patch)
treea381d989db2295f228f9bc95a774f0cc9aef4c40 /images/paste/service
downloadserver-bc5c44dd049bad3b007be48b3f8d90886d63c105.tar.gz
server-bc5c44dd049bad3b007be48b3f8d90886d63c105.tar.xz
server-bc5c44dd049bad3b007be48b3f8d90886d63c105.zip
Initial commit
Diffstat (limited to 'images/paste/service')
-rw-r--r--images/paste/service/mongo/run3
-rw-r--r--images/paste/service/uwsgi/run4
2 files changed, 7 insertions, 0 deletions
diff --git a/images/paste/service/mongo/run b/images/paste/service/mongo/run
new file mode 100644
index 0000000..996df8b
--- /dev/null
+++ b/images/paste/service/mongo/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+mkdir -p /data/db
+mongod
diff --git a/images/paste/service/uwsgi/run b/images/paste/service/uwsgi/run
new file mode 100644
index 0000000..2900244
--- /dev/null
+++ b/images/paste/service/uwsgi/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+export PYTHONPATH=/app/pb:$PYTHONPATH
+/app/pb/runonce.py
+exec uwsgi --ini /app/pb.ini