From 85ee19a173231b48686ebfa5d8810833b76f373b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20M=C3=A9lotte?= Date: Fri, 11 Oct 2024 14:03:16 +0200 Subject: [PATCH] README: document enabling/disabling services MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Support for enabling/disabling services has been added in 54f76654141fe6ce4b7197a8076aa218532a3fb0 but was so far not documented, which made it hard to find. This is a very useful feature for people who prefer to avoid relying on the proprietary application to enable services, so add it to the main README file. Signed-off-by: Raphaël Mélotte --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 011e731b..705a0d6b 100644 --- a/README.md +++ b/README.md @@ -570,6 +570,22 @@ neolink ptz --config=config.toml CameraName zoom 2.5 With 1.0 being normal and 2.5 being 2.5x zoom +### Enabling services (http, https, rtmp, rtsp and onvif) + +Services can be enabled/disabled using the `services` command. + +For example, to enable the http port: +```bash +neolink services --config=/etc/neolink.toml CameraName http on +``` + +To disable it: +```bash +neolink services --config=/etc/neolink.toml CameraName http off +``` + +Note that this might not work on older camera models. + ## License Neolink is free software, released under the GNU Affero General Public License