Skip to content

Commit

Permalink
Adjust Python version in init script (#501)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Oct 1, 2024
1 parent 3fc9e3a commit 586b370
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.11/site-packages/motioneye/scripts/migrateconf.sh "${CONF}"
/usr/lib/python3.12/site-packages/motioneye/scripts/migrateconf.sh "${CONF}"
find /data/motioneye/ \
-maxdepth 1 \
-type f \
-name "thread-*.conf" \
-exec \
/usr/lib/python3.11/site-packages/motioneye/scripts/migrateconf.sh {} \;
/usr/lib/python3.12/site-packages/motioneye/scripts/migrateconf.sh {} \;
fi

# Configure motion webcontrol access
Expand Down

0 comments on commit 586b370

Please sign in to comment.