
do not use chpst, instead change the user and group through the daemon itself, which is better since it can be overridden via opts, plus add opts variable and a possible config file
4 lines
85 B
Bash
4 lines
85 B
Bash
#!/bin/sh
|
|
[ -r ./conf ] && . ./conf
|
|
exec deluged -d -U deluge -g deluge ${OPTS} 2>&1
|