From 0acf2cbdeac85623649715d3fb48bb6e8294a311 Mon Sep 17 00:00:00 2001 From: jamesread Date: Tue, 25 May 2021 13:08:38 +0100 Subject: [PATCH] /usr/local/bin as we are not building distro packages --- OliveTin.service | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OliveTin.service b/OliveTin.service index bf59c04..6fd4f74 100644 --- a/OliveTin.service +++ b/OliveTin.service @@ -2,7 +2,7 @@ Description=OliveTin [Service] -ExecStart=/usr/sbin/OliveTin +ExecStart=/usr/local/bin/OliveTin Restart=always [Install] diff --git a/README.md b/README.md index e63fd5f..33dd962 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ Some people might not want the gRPC API public - simply set `listenAddressGrpcAc Running OliveTin as a systemd service on a Linux machine is a bit more effort than running as a container - but it means it can use any program installed on your machine (you don't have to add programs to a container). -1. Copy the `OliveTin` binary to `/usr/sbin/OliveTin` +1. Copy the `OliveTin` binary to `/usr/local/bin/OliveTin` 2. Copy the `webui` directory contents to `/var/www/olivetin/` (eg, `/var/www/olivetin/index.html`) 3. Copy the `OliveTin.service` file to `/etc/systemd/system/` 4. Create a `config.yaml` using the example provided above to get you started.