#!/bin/sh
set -u
adduser -q --gecos '' --disabled-password --uid $PUID deluge
chown deluge:deluge /download/ /config/
exec tini -- runsvdir /etc/service/