#!/bin/sh
chgrp ohlcdb-web /etc/ohlcdb-web/postgrest.conf
chmod 640 /etc/ohlcdb-web/postgrest.conf
chmod 644 /etc/ohlcdb-web/config.json
chown ohlcdb-web:ohlcdb-web /var/log/ohlcdb-web
rc-update add ohlcdb-web default 2>/dev/null
exit 0
