Lines 10-15
Link Here
|
10 |
|
10 |
|
11 |
start() { |
11 |
start() { |
12 |
[[ -z "${MYTH_VERBOSE}" ]] && MYTH_VERBOSE="none" |
12 |
[[ -z "${MYTH_VERBOSE}" ]] && MYTH_VERBOSE="none" |
|
|
13 |
[[ -z "${MYTH_USER}" ]] && MYTH_USER="mythtv" |
14 |
[[ -z "${MYTH_NICE}" ]] && MYTH_NICE="0" |
13 |
|
15 |
|
14 |
QTDIR=/usr/qt/3 |
16 |
QTDIR=/usr/qt/3 |
15 |
HOME=/etc/mythtv |
17 |
HOME=/etc/mythtv |
Lines 24-32
Link Here
|
24 |
rm -rf /etc/mythtv/.qt |
26 |
rm -rf /etc/mythtv/.qt |
25 |
|
27 |
|
26 |
ebegin "Starting MythTV Backend" |
28 |
ebegin "Starting MythTV Backend" |
27 |
start-stop-daemon --start --quiet --chuid mythtv \ |
29 |
start-stop-daemon --start --quiet --chuid ${MYTH_USER} \ |
28 |
--exec /usr/bin/mythbackend \ |
30 |
--exec /usr/bin/mythbackend \ |
29 |
--make-pidfile --pidfile /var/run/mythbackend.pid \ |
31 |
--make-pidfile --pidfile /var/run/mythbackend.pid \ |
|
|
32 |
--nicelevel ${MYTH_NICE} \ |
30 |
--background -- --verbose ${MYTH_VERBOSE} \ |
33 |
--background -- --verbose ${MYTH_VERBOSE} \ |
31 |
--logfile /var/log/mythtv/mythbackend.log |
34 |
--logfile /var/log/mythtv/mythbackend.log |
32 |
eend $? |
35 |
eend $? |