dsrvlabs / vatz

Node management integration tools in purpose of maximizing node's uptime for any protocols
https://www.dsrvlabs.com/
GNU General Public License v3.0
30 stars 15 forks source link

Enhancement to run Vatz on background. #143

Closed xellos00 closed 7 months ago

xellos00 commented 2 years ago

Checklist


Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is. such as Ex. I'm always frustrated

Currently Vatz runs properly but it needs to be start on background and it creating a log.

Additional context or comment

Add any other context or screenshots about the feature request here.

rootwarp commented 2 years ago

I just wonder what is background mode and why we need this. We can run process background by adding "&" on shell.

xellos00 commented 2 years ago

I just wonder what is background mode and why we need this. We can run process background by adding "&" on shell.

Yeah, in simple way. but I don't think that's appropriate manner to launch Vatz.

Current options to run Vatz.

I created this issue to enhance launching Vatz on background and kill the VATZ process somewhat nicer than above.
As you insisted previously #107 for CLI command, that's one option, but I don't want to put separate issues together.
I want to run this run on background and kill it more properly.

@rootwarp Please, correct me or update the issue title, if you have any suggestion.

rootwarp commented 2 years ago

@xellos00 Let's imagine user scenario to make clear.

To start Vatz,

~$ vatz start

Then, Vatz will be running in background automatically like we use systemctl daemon.

And when we need to kill Vatz.

~$ vatz stop

Am I understand right what you are planning? Let me know :)

xellos00 commented 2 years ago

@rootwarp

@xellos00 Let's imagine user scenario to make clear.

To start Vatz,

~$ vatz start

Then, Vatz will be running in background automatically like we use systemctl daemon.

And when we need to kill Vatz.

~$ vatz stop

Am I understand right what you are planning? Let me know :)

Yeah, exactly.