From 29b41da1bb0934d4dc8db30f6a5fc5d7cc7a66a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Stuczy=C5=84ski?= Date: Thu, 2 Nov 2023 12:42:45 +0000 Subject: [PATCH] further template fixes --- tools/nymvisor/src/config/template.rs | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/tools/nymvisor/src/config/template.rs b/tools/nymvisor/src/config/template.rs index d1ddedbcc6..a317a110ed 100644 --- a/tools/nymvisor/src/config/template.rs +++ b/tools/nymvisor/src/config/template.rs @@ -22,17 +22,7 @@ disable_logs = {{ nymvisor.disable_logs }} # Set custom directory for upgrade data - binaries and upgrade plans. # If not set, the global nymvisors' data directory will be used instead. # Can be overridden with $NYMVISOR_UPGRADE_DATA_DIRECTORY environmental variable. -data_upgrade_directory = '{{ nymvisor.data_upgrade_directory }}' - -# The name of the managed binary itself (e.g. nym-api, nym-mixnode, nym-gateway, etc.) -# Can be overridden with $DAEMON_NAME environmental variable. -name = '{{ nymvisor.name }}' - -# The location where the `nymvisor/` directory is kept that contains the auxiliary files associated -# with the underlying daemon, such as any backups or current version information. -# (e.g. $HOME/.nym/nym-api/my-nym-api, $HOME/.nym/mixnodes/my-mixnode, etc.). -# Can be overridden with $DAEMON_HOME environmental variable. -home = '{{ nymvisor.home }}' +upgrade_data_directory = '{{ nymvisor.upgrade_data_directory }}' ##### main base daemon config options ##### @@ -77,7 +67,7 @@ restart_on_failure = {{ daemon.restart_on_failure }} # restarting the subprocess. # default: 10s # Can be overridden with $DAEMON_FAILURE_RESTART_DELAY environmental variable. -// The default value is so relatively high as to prevent constant restart loops in case of some underlying issue. +# The default value is so relatively high as to prevent constant restart loops in case of some underlying issue. failure_restart_delay = '{{ daemon.failure_restart_delay }}' # Defines the maximum number of startup failures the subprocess can experience in a quick succession before @@ -101,7 +91,7 @@ shutdown_grace_period = '{{ daemon.shutdown_grace_period }}' # Set custom backup directory for daemon data. If not set, the daemon's home directory will be used instead. # Can be overridden with $DAEMON_BACKUP_DATA_DIRECTORY environmental variable. -data_backup_directory = '{{ daemon.data_backup_directory }}' +backup_data_directory = '{{ daemon.backup_data_directory }}' # If enabled, `nymvisor` will perform upgrades directly without performing any backups. # default: false