Add option --reinstall

With --install, the server is installed only if the current version is
not already installed. Passing --reinstall force reinstallation is all
cases.
This commit is contained in:
Romain Vimont
2022-07-03 00:54:00 +02:00
parent bef5b11e45
commit 2bc1f59b5b
7 changed files with 26 additions and 3 deletions

View File

@@ -49,6 +49,7 @@ struct sc_server_params {
bool cleanup;
bool power_on;
bool install;
bool reinstall;
};
struct sc_server {