void-packages/srcpkgs/deluge/files/deluge-web/run
Michal Vasilek 6b79510634 deluge: specify HOME in deluge-web service
Otherwise the deluge-web service tries to load its config from /root and
fails because of missing permissions.
2022-09-06 21:00:03 +02:00

4 lines
116 B
Bash

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