motion.conf MUST be configured to run as daemon in order for turning on/off the camera from the web.