Skip to content

Commit

Permalink
Fix migration scripts (#454)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Jan 7, 2024
1 parent 37b1cd5 commit 0626ea1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions motioneye/rootfs/etc/s6-overlay/s6-rc.d/init-motioneye/run
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ fi
# Migration
if bashio::fs.file_exists "${CONF}"; then
bashio::log.debug "Running startup migrations"
/usr/lib/python3.10/site-packages/motioneye/scripts/migrateconf.sh "${CONF}"
/usr/lib/python3.11/site-packages/motioneye/scripts/migrateconf.sh "${CONF}"
find /data/motioneye/ \
-maxdepth 1 \
-type f \
-name "thread-*.conf" \
-exec \
/usr/lib/python3.10/site-packages/motioneye/scripts/migrateconf.sh {} \;
/usr/lib/python3.11/site-packages/motioneye/scripts/migrateconf.sh {} \;
fi

# Configure motion webcontrol access
Expand Down

0 comments on commit 0626ea1

Please sign in to comment.