From 3e9611621bb85274d2bcb173b6598865ad8ebd7f Mon Sep 17 00:00:00 2001 From: ewilly Date: Sun, 16 Jul 2023 21:10:29 +0200 Subject: [PATCH] Fix #8 --- conf/systemd-scrutiny-collector.service | 2 +- conf/systemd-scrutiny-web-server.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/systemd-scrutiny-collector.service b/conf/systemd-scrutiny-collector.service index d8c36b1..db34191 100644 --- a/conf/systemd-scrutiny-collector.service +++ b/conf/systemd-scrutiny-collector.service @@ -10,7 +10,7 @@ Group=root WorkingDirectory=__INSTALL_DIR__ LogsDirectory=__APP__ StateDirectory=__APP__ -ExecStart=__INSTALL_DIR__/bin/scrutiny-collector-metrics-linux-amd64 run --config __INSTALL_DIR__/config/collector.yaml +ExecStart=__INSTALL_DIR__/bin/scrutiny-collector-metrics-linux-__YNH_ARCH__ run --config __INSTALL_DIR__/config/collector.yaml Restart=no StandardOutput=append:/var/log/__APP__/collector.log StandardError=inherit diff --git a/conf/systemd-scrutiny-web-server.service b/conf/systemd-scrutiny-web-server.service index 413ed19..b55ac88 100644 --- a/conf/systemd-scrutiny-web-server.service +++ b/conf/systemd-scrutiny-web-server.service @@ -9,7 +9,7 @@ Group=__APP__ WorkingDirectory=__INSTALL_DIR__ LogsDirectory=__APP__ StateDirectory=__APP__ -ExecStart=__INSTALL_DIR__/bin/scrutiny-web-linux-amd64 start --config __INSTALL_DIR__/config/scrutiny.yaml +ExecStart=__INSTALL_DIR__/bin/scrutiny-web-linux-__YNH_ARCH__ start --config __INSTALL_DIR__/config/scrutiny.yaml Restart=always RestartSec=10s StandardOutput=append:/var/log/__APP__/web-server.log