virtual-appliance/teamplayer/local.start

9 lines
175 B
Plaintext
Raw Normal View History

#!/bin/sh
su -c "TP_HOME/bin/start-teamplayer" TP_USER
tailf TP_HOME/teamplayer.log > /dev/tty7 &
# put some ionice on mpd
sleep 3
ionice -c2 -n0 -p$(cat TP_DB/mpd/mpd.pid)