diff --git a/README.md b/README.md index 2fc8577..e2e4f41 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Scrutiny is a simple but focused application, with a couple of core features: - (Future) Hard Drive performance testing & tracking -**Shipped version:** 0.7.1~ynh1 +**Shipped version:** 0.7.1~ynh2 ## Screenshots diff --git a/README_fr.md b/README_fr.md index d7ccc70..acc6a93 100644 --- a/README_fr.md +++ b/README_fr.md @@ -35,7 +35,7 @@ Scrutiny is a simple but focused application, with a couple of core features: - (Future) Hard Drive performance testing & tracking -**Version incluse :** 0.7.1~ynh1 +**Version incluse :** 0.7.1~ynh2 ## Captures d’écran 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 diff --git a/manifest.toml b/manifest.toml index 540fcad..3b452ea 100644 --- a/manifest.toml +++ b/manifest.toml @@ -4,7 +4,7 @@ id = "scrutiny" name = "Scrutiny" description.en = "WebUI for smartd S.M.A.R.T monitoring" -version = "0.7.1~ynh1" +version = "0.7.1~ynh2" maintainers = ["ewilly"] diff --git a/scripts/_common.sh b/scripts/_common.sh index a08bed0..dec9475 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -3,6 +3,7 @@ #================================================= # COMMON VARIABLES #================================================= +ynh_arch="$YNH_ARCH" #================================================= # PERSONAL HELPERS