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