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

6 lines
122 B
Bash

#!/bin/sh
set -e
mkdir -p /var/lib/deluge
chown deluge:deluge /var/lib/deluge
exec chpst -u deluge:deluge deluged -d 2>&1