void-packages/srcpkgs/deluge/files/deluge-web/run

6 lines
126 B
Bash

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