From 347c9626847e5aeecec4a1a86f6ed12e51929c40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bajto=C5=A1?= Date: Wed, 15 May 2024 14:59:42 +0200 Subject: [PATCH] docs: update logshipper deployment instructions (#291) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miroslav Bajtoš --- logshipper/README.md | 12 +++++++++--- logshipper/vector.toml | 3 +-- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/logshipper/README.md b/logshipper/README.md index e95dc2a7..7f35619e 100644 --- a/logshipper/README.md +++ b/logshipper/README.md @@ -1,8 +1,14 @@ # logshipper +Run the following command to deploy the latest logshipper version: + +```bash +$ fly deploy --file-local="/etc/vector/vector.toml=vector.toml" +``` + If you ever create a new machine for this app, please also set the restart -policy (can't be set via fly.toml): +policy (can't be set via `fly.toml`): ```bash -$ fly machine update --restart always -``` \ No newline at end of file +$ fly machine update --restart always +``` diff --git a/logshipper/vector.toml b/logshipper/vector.toml index 07b1f336..2a43befe 100644 --- a/logshipper/vector.toml +++ b/logshipper/vector.toml @@ -1,5 +1,4 @@ -# To deploy: -# fly deploy --file-local="/etc/vector/vector.toml=vector.toml" +# See README.md for instructions on how to deploy! [api] enabled = true