|
Lines 38-50
Link Here
|
| 38 |
|
38 |
|
| 39 |
# Work around any strange permissions that may be on these files. |
39 |
# Work around any strange permissions that may be on these files. |
| 40 |
[ "x${MYTHBACKEND_LOGGING}" = "xfiles" ] && \ |
40 |
[ "x${MYTHBACKEND_LOGGING}" = "xfiles" ] && \ |
| 41 |
checkpath --dir --owner mythv:video --mode 0664 /var/log/mythtv |
41 |
checkpath --directory --owner mythtv:video --mode 0664 /var/log/mythtv |
| 42 |
checkpath --dir --owner mythv:video --mode 0664 /home/mythtv |
42 |
checkpath --directory --owner mythtv:video --mode 0664 /home/mythtv |
| 43 |
|
43 |
|
| 44 |
ebegin "Starting MythTV Backend" |
44 |
ebegin "Starting MythTV Backend" |
| 45 |
start-stop-daemon --start --quiet --exec /usr/bin/mythbackend \ |
45 |
start-stop-daemon --start --quiet --exec /usr/bin/mythbackend \ |
| 46 |
--pidfile /var/run/mythbackend.pid -- \ |
46 |
--pidfile /var/run/mythbackend.pid -- \ |
| 47 |
--daemon --pidfile /var/run/mythbackend.pid --user mythtv:video \ |
47 |
--daemon --pidfile /var/run/mythbackend.pid --user mythtv \ |
| 48 |
--verbose ${MYTHBACKEND_VERBOSE} \ |
48 |
--verbose ${MYTHBACKEND_VERBOSE} \ |
| 49 |
${logging} ${MYTHBACKEND_OPTS} |
49 |
${logging} ${MYTHBACKEND_OPTS} |
| 50 |
eend $? |
50 |
eend $? |