6b79510634
Otherwise the deluge-web service tries to load its config from /root and fails because of missing permissions.
4 lines
116 B
Bash
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
|