#!/bin/bash deluser lufi addgroup --gid $GROUPID lufi adduser --system --shell /bin/sh --no-create-home --ingroup lufi --uid $USERID lufi sed -i -e 's//'$CONTACT'/g' \ -e 's//'$SECRET'/g' \ -e 's//'$MAX_FILE_SIZE'/g' \ -e 's//'$DOMAIN'/g' \ -e 's||'$WEBROOT'|g' /lufi/lufi.conf chown -R lufi:lufi /lufi /data /files cd /lufi && su lufi -c "carton exec hypnotoad -f /lufi/script/lufi"