From ef1f9eb15fb52a6b3d2291aca5891fef0cb4dcb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Verstraeten?= Date: Mon, 2 Nov 2015 20:39:52 +0100 Subject: [PATCH] cleanup installation --- 41_machinery/2_installation.md | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/41_machinery/2_installation.md b/41_machinery/2_installation.md index 90fd8d6..0036b50 100644 --- a/41_machinery/2_installation.md +++ b/41_machinery/2_installation.md @@ -66,25 +66,6 @@ Compile kerberos cd kerberos-io && mkdir build && cd build cmake .. && make && make check && sudo make install - -#### Auto start - -Create service file for kerberos - - nano /etc/systemd/system/kerberos.service - -Copy and paste the configuration to the kerberos.service - - [Unit] - Description=Kerberos.io Video Surveillance - - [Service] - Type=oneshot - ExecStart=/usr/bin/local/kerberosio - - [Install] - WantedBy=multi-user.target - Enable the service to start on boot systemctl enable kerberos.service @@ -119,4 +100,8 @@ Get the source code from github Compile kerberos cd kerberos-io && sudo mkdir build && cd build - cmake .. && make && make check && sudo make install \ No newline at end of file + cmake .. && make && make check && sudo make install + +Enable the service to start on boot + + systemctl enable kerberos.service \ No newline at end of file