Update motioneye_setup.sh

This commit is contained in:
tteckster 2022-02-10 11:17:56 -05:00 committed by GitHub
parent 0482815a67
commit 85277789f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,8 +90,8 @@ echo -e "${CHECKMARK} \e[1;92m Customizing Container... \e[0m"
EOF
systemctl daemon-reload
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
systemctl enable motioneye
systemctl start motioneye
systemctl enable motioneye &>/dev/null
systemctl start motioneye
echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m"
rm -rf /motioneye_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*