# Copy this to /etc/systemd/system, then : # systemctl start camera.service # systemctl enable camera.service # [Unit] Description=Streams the Pi's camera via http [Service] User=root ExecStart=/home/pi/door/camera.sh Restart=always [Install] WantedBy=multi-user.target