diff --git a/install/motioneye-install.sh b/install/motioneye-install.sh index 362221efb..d3829d572 100644 --- a/install/motioneye-install.sh +++ b/install/motioneye-install.sh @@ -50,6 +50,7 @@ msg_ok "Installed MotionEye" msg_info "Creating Service" curl -fsSL "https://raw.githubusercontent.com/motioneye-project/motioneye/dev/motioneye/extra/motioneye.systemd" -o "/etc/systemd/system/motioneye.service" +sed -i 's/^User=.*/User=root/' /etc/systemd/system/motioneye.service systemctl enable -q --now motioneye msg_ok "Created Service"