diff options
author | drebs <drebs@leap.se> | 2016-12-17 10:56:22 -0200 |
---|---|---|
committer | drebs <drebs@leap.se> | 2016-12-17 14:54:03 -0200 |
commit | feb14a1eadb894f16fcfd09ee6d229d6dfb35569 (patch) | |
tree | a77272b582b01581f2ed7e98196000ec5a9fe6fd /server/pkg/soledad-server | |
parent | 086fc21058314e0a3b13b06af3905ca5c3ee311e (diff) |
[pkg] use a twisted resource as server entrypoint
Diffstat (limited to 'server/pkg/soledad-server')
-rw-r--r-- | server/pkg/soledad-server | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/pkg/soledad-server b/server/pkg/soledad-server index d9dab040..753a260b 100644 --- a/server/pkg/soledad-server +++ b/server/pkg/soledad-server @@ -11,7 +11,7 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin PIDFILE=/var/run/soledad.pid -OBJ=leap.soledad.server.application.wsgi_application +RESOURCE_CLASS=leap.soledad.server.resource.SoledadResource HTTPS_PORT=2424 CONFDIR=/etc/soledad CERT_PATH="${CONFDIR}/soledad-server.pem" @@ -39,7 +39,7 @@ case "${1}" in --syslog \ --prefix=soledad-server \ web \ - --wsgi=${OBJ} \ + --class=${RESOURCE_CLASS} \ --port=ssl:${HTTPS_PORT}:privateKey=${PRIVKEY_PATH}:certKey=${CERT_PATH}:sslmethod=${SSL_METHOD} echo "." ;; |