Add self-restart support to monitor (mainly for tests)

This commit is contained in:
Vitaliy Filippov
2023-05-10 01:51:02 +03:00
parent a409598b16
commit 77155ab7bd
2 changed files with 35 additions and 10 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ for (let i = 2; i < process.argv.length; i++)
{
console.error('USAGE: '+process.argv[0]+' '+process.argv[1]+' [--verbose 1]'+
' [--etcd_address "http://127.0.0.1:2379,..."] [--config_path /etc/vitastor/vitastor.conf]'+
' [--etcd_prefix "/vitastor"] [--etcd_start_timeout 5]');
' [--etcd_prefix "/vitastor"] [--etcd_start_timeout 5] [--restart_interval 5]');
process.exit();
}
else if (process.argv[i].substr(0, 2) == '--')