Skip to content
Snippets Groups Projects
Commit bc808c3b authored by Bob Mottram's avatar Bob Mottram
Browse files

Tidying

parent cc5c1dce
No related branches found
No related tags found
No related merge requests found
......@@ -46,8 +46,6 @@ ETESYNC_ONION_PORT=9860
ETESYNC_REPO="https://github.com/etesync/server-skeleton"
ETESYNC_COMMIT='8f50a69b39bef7f421590e3de26b822df0ceaf6e'
ETESYNC_PORT_INTERNAL=8292
#ETESYNC_PUID=1000
#ETESYNC_PGID=1000
# These parameters are used by the FreedomBox mobile app and web UI
ETESYNC_SHORT_DESCRIPTION='End-to-End Encrypted Journaled Sync'
......@@ -353,29 +351,6 @@ function install_etesync {
mkdir "${ETESYNC_DATA_PATH}"
fi
#{ echo '[uwsgi]';
# echo 'protocol = uwsgi';
# echo 'ini = :base';
# echo '';
# echo '[http]';
# echo 'ini = :base';
# echo 'protocol = http';
# echo '';
# echo '[base]';
# echo "chdir = ${ETESYNC_PATH}";
# echo "wsgi-file = ${ETESYNC_PATH}/etesync_server/wsgi.py";
# echo "uid = ${ETESYNC_PUID}";
# echo "gid = ${ETESYNC_PGID}";
# echo 'master = True';
# echo 'workers = 2';
# echo 'harakiri = 60';
# echo "socket = :${ETESYNC_PORT_INTERNAL}";
# echo 'pidfile = /tmp/etesync_server.pid';
# echo 'vacuum = True';
# echo 'max-requests = 5000';
# echo 'buffer-size = 25000';
# echo 'post-buffering = 8192'; } > "${ETESYNC_PATH}/etesync_server/etesync.ini"
etesync_nginx_site=/etc/nginx/sites-available/$ETESYNC_DOMAIN_NAME
if [[ "$ONION_ONLY" == "no" ]]; then
nginx_http_redirect "$ETESYNC_DOMAIN_NAME" "index index.html"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment