summaryrefslogtreecommitdiff
path: root/server/pkg
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2016-08-09 15:25:50 -0300
committerdrebs <drebs@leap.se>2016-08-09 15:26:46 -0300
commit7d2e485d37c2928b7ed773df7f6a5aa98e3396c0 (patch)
tree75477d6d565fcf16b320110f2bee9ab0a9455550 /server/pkg
parentc8709722223f6c813ad49df09185c316746f9edb (diff)
[feat] log to syslog (#8286)
Diffstat (limited to 'server/pkg')
-rw-r--r--server/pkg/soledad-server4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/pkg/soledad-server b/server/pkg/soledad-server
index 74ed122e..9dada6a0 100644
--- a/server/pkg/soledad-server
+++ b/server/pkg/soledad-server
@@ -12,7 +12,6 @@
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PIDFILE=/var/run/soledad.pid
OBJ=leap.soledad.server.application
-LOGFILE=/var/log/soledad.log
HTTPS_PORT=2424
CONFDIR=/etc/soledad
CERT_PATH="${CONFDIR}/soledad-server.pem"
@@ -37,7 +36,8 @@ case "${1}" in
--exec ${TWISTD_PATH} -- \
--uid=${USER} --gid=${GROUP} \
--pidfile=${PIDFILE} \
- --logfile=${LOGFILE} \
+ --syslog \
+ --prefix=soledad-server \
web \
--wsgi=${OBJ} \
--port=ssl:${HTTPS_PORT}:privateKey=${PRIVKEY_PATH}:certKey=${CERT_PATH}:sslmethod=${SSL_METHOD}