Bladeren bron

Various startup scripts.

Stefano Cossu 6 jaren geleden
bovenliggende
commit
46f5e63e42
4 gewijzigde bestanden met toevoegingen van 11 en 9 verwijderingen
  1. 6 2
      fcrepo
  2. 3 0
      fcrepo_mt
  3. 2 0
      server.py
  4. 0 7
      wsgi.py

+ 6 - 2
fcrepo

@@ -1,3 +1,7 @@
-#!/bin/bash
+#!/usr/bin/env python
 
-gunicorn -c "${FCREPO_CONFIG_DIR}/gunicorn.py" server:fcrepo
+import bjoern
+
+from server import fcrepo
+
+bjoern.run(fcrepo, 'localhost', 8000)

+ 3 - 0
fcrepo_mt

@@ -0,0 +1,3 @@
+#!/bin/bash
+
+gunicorn -c "${FCREPO_CONFIG_DIR}/gunicorn.py" server:fcrepo

+ 2 - 0
server.py

@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 import logging
 from logging.config import dictConfig
 

+ 0 - 7
wsgi.py

@@ -1,7 +0,0 @@
-#!/usr/bin/env python
-
-import bjoern
-
-from server import fcrepo
-
-bjoern.run(fcrepo, 'localhost', 8000)