summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-tv/mythtv/files')
-rw-r--r--media-tv/mythtv/files/mythbackend.init-r2 (renamed from media-tv/mythtv/files/mythbackend.init-r1)8
1 files changed, 4 insertions, 4 deletions
diff --git a/media-tv/mythtv/files/mythbackend.init-r1 b/media-tv/mythtv/files/mythbackend.init-r2
index e7bbeb186e93..43f53e876ff4 100644
--- a/media-tv/mythtv/files/mythbackend.init-r1
+++ b/media-tv/mythtv/files/mythbackend.init-r2
@@ -38,13 +38,13 @@ start() {
# Work around any strange permissions that may be on these files.
[ "x${MYTHBACKEND_LOGGING}" = "xfiles" ] && \
- checkpath --dir --owner mythv:video --mode 0664 /var/log/mythtv
- checkpath --dir --owner mythv:video --mode 0664 /home/mythtv
+ checkpath --directory --owner mythv:video --mode 0775 /var/log/mythtv
+ checkpath --directory --owner mythv:video --mode 0775 /home/mythtv
ebegin "Starting MythTV Backend"
start-stop-daemon --start --quiet --exec /usr/bin/mythbackend \
- --pidfile /var/run/mythbackend.pid -- \
- --daemon --pidfile /var/run/mythbackend.pid --user mythtv:video \
+ --pidfile /var/run/mythbackend.pid --user mythtv:video -- \
+ --daemon --pidfile /var/run/mythbackend.pid \
--verbose ${MYTHBACKEND_VERBOSE} \
${logging} ${MYTHBACKEND_OPTS}
eend $?