Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
lbr38 committed Dec 8, 2024
1 parent 190937f commit 8f797a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/init
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
WWW_DIR="/var/www/motionui"
DATA_DIR="/var/lib/motionui"
GO2RTC_DIR="/var/lib/motionui/go2rtc"
GO2RTC_LOG=""

# Make sure motion service is stopped
/usr/sbin/service motion stop
Expand Down Expand Up @@ -42,7 +43,7 @@ fi
/bin/su -s /bin/bash -c "php $WWW_DIR/tools/update-database.php" www-data

# Start go2rtc in background
/bin/su -s /bin/bash -c "/usr/local/bin/go2rtc -c $GO2RTC_DIR/go2rtc.yml >/dev/null 2>/dev/null &" www-data
/bin/su -s /bin/bash -c "/usr/local/bin/go2rtc -c $GO2RTC_DIR/go2rtc.yml >>/var/lib/motionui/go2rtc/go2rtc.log &" www-data

# Start shell service in background
/bin/bash "$WWW_DIR/bin/service.sh" &
Expand Down

0 comments on commit 8f797a5

Please sign in to comment.