#!/bin/sh
sv check deluged >/dev/null || exit 1
HOME=/var/lib/deluge
exec chpst -u deluge:deluge deluge-web -d 2>&1