diff options
Diffstat (limited to 'audio/daapd/files/daapd.sh')
-rw-r--r-- | audio/daapd/files/daapd.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/audio/daapd/files/daapd.sh b/audio/daapd/files/daapd.sh index 6c4052638952..7266b44c0047 100644 --- a/audio/daapd/files/daapd.sh +++ b/audio/daapd/files/daapd.sh @@ -10,8 +10,7 @@ DAAPD_CONF=%%PREFIX%%/etc/daapd.conf case "$1" in start) if [ -r "${DAAPD_CONF}" ]; then - su -m ${DAAPD_USER} -c "${DAAPD} -c ${DAAPD_CONF}" \ - >> ${DAAPD_LOG} 2>&1 & + su -m ${DAAPD_USER} -c "${DAAPD} -c ${DAAPD_CONF}" >> ${DAAPD_LOG} 2>&1 & echo $(($!+1)) > "${DAAPD_PID}" echo -n ' daapd' fi |